3 (!def-vm-support-routine generate-call-sequence (name style vop)
7 `((inst jal (make-fixup ',name :assembly-routine))
11 (let ((temp (make-symbol "TEMP"))
12 (nfp-save (make-symbol "NFP-SAVE"))
13 (lra (make-symbol "LRA")))
15 `((let ((lra-label (gen-label))
16 (cur-nfp (current-nfp-tn ,vop)))
18 (store-stack-tn ,nfp-save cur-nfp))
19 (inst compute-lra-from-code ,lra code-tn lra-label ,temp)
20 (note-next-instruction ,vop :call-site)
21 (inst j (make-fixup ',name :assembly-routine))
23 (emit-return-pc lra-label)
24 (note-this-location ,vop :single-value-return)
25 (without-scheduling ()
28 (inst compute-code-from-lra code-tn code-tn
31 (load-stack-tn cur-nfp ,nfp-save))))
32 `((:temporary (:scs (non-descriptor-reg) :from (:eval 0) :to (:eval 1))
34 (:temporary (:sc descriptor-reg :offset lra-offset
35 :from (:eval 0) :to (:eval 1))
37 (:temporary (:scs (control-stack) :offset nfp-save-offset)
42 `((inst j (make-fixup ',name :assembly-routine))
47 (!def-vm-support-routine generate-return-sequence (style)
53 `((lisp-return (make-random-tn :kind :normal