(in-package "SB!VM")
;;; Make an environment-live stack TN for saving the SP for NLX entry.
-(!def-vm-support-routine make-nlx-sp-tn (env)
+(defun make-nlx-sp-tn (env)
(physenv-live-tn
(make-representation-tn *fixnum-primitive-type* immediate-arg-scn)
env))
;;; Make a TN for the argument count passing location for a
;;; non-local entry.
;;;
-(!def-vm-support-routine make-nlx-entry-arg-start-location ()
+(defun make-nlx-entry-arg-start-location ()
(make-wired-tn *fixnum-primitive-type* immediate-arg-scn ocfp-offset))
\f
;;; Save and restore dynamic environment.
(cond ((zerop nvals))
((= nvals 1)
(let ((no-values (gen-label)))
- (inst beq count zero-tn no-values)
+ (inst beq count no-values)
(move (tn-ref-tn values) null-tn t)
(loadw (tn-ref-tn values) start)
(emit-label no-values)))
(tn (tn-ref-tn tn-ref)))
(defaults (cons default-lab tn))
- (inst beq count zero-tn default-lab)
+ (inst beq count default-lab)
(inst addu count count (fixnumize -1))
(sc-case tn
((descriptor-reg any-reg)
(sc-case new-start
(any-reg (move new-start dst))
(control-stack (store-stack-tn new-start dst)))
- (inst beq num zero-tn done)
+ (inst beq num done)
(inst nop)
(sc-case new-count
(any-reg (move new-count num))
(inst addu src src n-word-bytes)
(inst addu num num (fixnumize -1))
(storew temp dst)
- (inst bne num zero-tn loop)
+ (inst bne num loop)
(inst addu dst dst n-word-bytes)
(emit-label done)