1 ;;;; functions which have a build order dependency on FUN-INFO
2 ;;;; (because ANSI allows xc host structure slot setters to be
3 ;;;; implemented as SETF expanders instead of SETF functions, so we
4 ;;;; can't safely forward-reference them) and so have to be defined
5 ;;;; physically late instead of in a more logical place
9 (defun %def-reffer (name offset lowtag)
10 (let ((fun-info (fun-info-or-lose name)))
11 (setf (fun-info-ir2-convert fun-info)
13 (ir2-convert-reffer node block name offset lowtag))))
16 (defun %def-setter (name offset lowtag)
17 (let ((fun-info (fun-info-or-lose name)))
18 (setf (fun-info-ir2-convert fun-info)
21 (ir2-convert-setfer node block name offset lowtag))
23 (ir2-convert-setter node block name offset lowtag)))))
26 (defun %def-alloc (name words variable-length-p header lowtag inits)
27 (let ((info (fun-info-or-lose name)))
28 (setf (fun-info-ir2-convert info)
31 (ir2-convert-variable-allocation node block name words header
34 (ir2-convert-fixed-allocation node block name words header