(:generator 1
;; Make sure the function is aligned, and drop a label pointing to this
;; function header.
- (align n-lowtag-bits)
+ (emit-alignment n-lowtag-bits)
(trace-table-entry trace-table-fun-prologue)
(emit-label start-lab)
;; Allocate function header.
(truncate (static-symbol-offset 'sb!impl::*stepping*)
n-word-bytes))
other-pointer-lowtag))
- ;; If it's not null, trap.
- (inst beq stepping step-done-label)
+ ;; If it's not NIL, trap.
+ (inst beq stepping null-tn step-done-label)
(inst nop)
;; CONTEXT-PC will be pointing here when the
;; interrupt is handled, not after the BREAK.
;; Construct a trap code with the low bits from
;; SINGLE-STEP-AROUND-TRAP and the high bits from
;; the register number of CALLABLE-TN.
- (inst break (logior single-step-around-trap
- (ash (reg-tn-encoding callable-tn)
- 5)))
+ (inst break 0 (logior single-step-around-trap
+ (ash (reg-tn-encoding callable-tn)
+ 5)))
(emit-label step-done-label))))
,@(if named
(define-full-reffer more-arg * 0 0 (descriptor-reg any-reg) * %more-arg)
;;; Turn more arg (context, count) into a list.
-(defoptimizer (%listify-rest-args stack-allocate-result) ((&rest args))
- t)
-
(define-vop (listify-rest-args)
(:args (context-arg :target context :scs (descriptor-reg))
(count-arg :target count :scs (any-reg)))
(truncate (static-symbol-offset 'sb!impl::*stepping*)
n-word-bytes))
other-pointer-lowtag))
- ;; If it's not null, trap.
- (inst beq stepping DONE)
+ ;; If it's not NIL, trap.
+ (inst beq stepping null-tn DONE)
(inst nop)
;; CONTEXT-PC will be pointing here when the interrupt is handled,
;; not after the BREAK.
(note-this-location vop :step-before-vop)
;; CALLEE-REGISTER-OFFSET isn't needed for before-traps, so we
;; can just use a bare SINGLE-STEP-BEFORE-TRAP as the code.
- (inst break single-step-before-trap)
+ (inst break 0 single-step-before-trap)
DONE))