X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fx86-64%2Fsubprim.lisp;h=74692e8adcaf39be4f27977d1958850ba491e43a;hb=2fb5b174f6acb88a85c86aa4cd753ddefaccc987;hp=1e9e532888ad3c8ffb8de5fb99869700c0cf33ac;hpb=4ebdc81b1a9c6dbed6e98b112afc8dd32b17a2dd;p=sbcl.git diff --git a/src/compiler/x86-64/subprim.lisp b/src/compiler/x86-64/subprim.lisp index 1e9e532..74692e8 100644 --- a/src/compiler/x86-64/subprim.lisp +++ b/src/compiler/x86-64/subprim.lisp @@ -31,7 +31,7 @@ (inst xor count count) ;; If we are starting with NIL, then it's really easy. (inst cmp ptr nil-value) - (inst jmp :e done) + (inst jmp :e DONE) ;; Note: we don't have to test to see whether the original argument is a ;; list, because this is a :fast-safe vop. LOOP @@ -40,13 +40,13 @@ (inst add count (fixnumize 1)) ;; If we hit NIL, then we are done. (inst cmp ptr nil-value) - (inst jmp :e done) + (inst jmp :e DONE) ;; Otherwise, check to see whether we hit the end of a dotted list. If ;; not, loop back for more. (move eax ptr) (inst and al-tn lowtag-mask) (inst cmp al-tn list-pointer-lowtag) - (inst jmp :e loop) + (inst jmp :e LOOP) ;; It's dotted all right. Flame out. (error-call vop object-not-list-error ptr) ;; We be done. @@ -69,14 +69,14 @@ (inst xor count count) ;; If we are starting with NIL, we be done. (inst cmp ptr nil-value) - (inst jmp :e done) + (inst jmp :e DONE) ;; Indirect the next cons cell, and boost the count. LOOP (loadw ptr ptr cons-cdr-slot list-pointer-lowtag) (inst add count (fixnumize 1)) ;; If we aren't done, go back for more. (inst cmp ptr nil-value) - (inst jmp :ne loop) + (inst jmp :ne LOOP) DONE)) (define-static-fun length (object) :translate length)