projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.8.4.11:
[sbcl.git]
/
src
/
compiler
/
x86
/
subprim.lisp
diff --git
a/src/compiler/x86/subprim.lisp
b/src/compiler/x86/subprim.lisp
index
da3d809
..
1e9e532
100644
(file)
--- a/
src/compiler/x86/subprim.lisp
+++ b/
src/compiler/x86/subprim.lisp
@@
-36,7
+36,7
@@
;; list, because this is a :fast-safe vop.
LOOP
;; Get the CDR and boost the count.
;; list, because this is a :fast-safe vop.
LOOP
;; Get the CDR and boost the count.
- (loadw ptr ptr cons-cdr-slot list-pointer-type)
+ (loadw ptr ptr cons-cdr-slot list-pointer-lowtag)
(inst add count (fixnumize 1))
;; If we hit NIL, then we are done.
(inst cmp ptr nil-value)
(inst add count (fixnumize 1))
;; If we hit NIL, then we are done.
(inst cmp ptr nil-value)
@@
-45,7
+45,7
@@
;; not, loop back for more.
(move eax ptr)
(inst and al-tn lowtag-mask)
;; not, loop back for more.
(move eax ptr)
(inst and al-tn lowtag-mask)
- (inst cmp al-tn list-pointer-type)
+ (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)
(inst jmp :e loop)
;; It's dotted all right. Flame out.
(error-call vop object-not-list-error ptr)
@@
-72,11
+72,11
@@
(inst jmp :e done)
;; Indirect the next cons cell, and boost the count.
LOOP
(inst jmp :e done)
;; Indirect the next cons cell, and boost the count.
LOOP
- (loadw ptr ptr cons-cdr-slot list-pointer-type)
+ (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)
DONE))
(inst add count (fixnumize 1))
;; If we aren't done, go back for more.
(inst cmp ptr nil-value)
(inst jmp :ne loop)
DONE))
-(define-static-function length (object) :translate length)
+(define-static-fun length (object) :translate length)