(:generator 40
;; Move OBJECT into a temp we can bash on, and initialize the count.
(move ptr object)
- (inst xor count count)
+ (zeroize count)
;; If we are starting with NIL, then it's really easy.
(inst cmp ptr nil-value)
(inst jmp :e DONE)
(inst cmp al-tn list-pointer-lowtag)
(inst jmp :e LOOP)
;; It's dotted all right. Flame out.
- (error-call vop object-not-list-error ptr)
+ (error-call vop 'object-not-list-error ptr)
;; We be done.
DONE))
;; Get a copy of OBJECT in a register we can bash on, and
;; initialize COUNT.
(move ptr object)
- (inst xor count count)
+ (zeroize count)
;; If we are starting with NIL, we be done.
(inst cmp ptr nil-value)
(inst jmp :e DONE)