X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fassembly%2Fx86%2Farray.lisp;h=7662427adc69fa0b769e216aacc75beba37d6944;hb=581e3d62de8cb37e13ad9db63e5537c0f962be28;hp=421eaa0efe2ec63fb0b4cc6fe7534b1ad7fc442a;hpb=6fb6e66f531dfb6140ec3e0cc8f84f6ecd1927ca;p=sbcl.git diff --git a/src/assembly/x86/array.lisp b/src/assembly/x86/array.lisp index 421eaa0..7662427 100644 --- a/src/assembly/x86/array.lisp +++ b/src/assembly/x86/array.lisp @@ -24,10 +24,10 @@ (:arg length any-reg ebx-offset) (:arg words any-reg ecx-offset) (:res result descriptor-reg edx-offset)) - (inst mov result (+ (1- (ash 1 lowtag-bits)) - (* vector-data-offset word-bytes))) + (inst mov result (+ (1- (ash 1 n-lowtag-bits)) + (* vector-data-offset n-word-bytes))) (inst add result words) - (inst and result (lognot sb!vm:lowtag-mask)) + (inst and result (lognot lowtag-mask)) (pseudo-atomic (allocation result result) (inst lea result (make-ea :byte :base result :disp other-pointer-lowtag))