X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fassembly%2Fx86%2Farray.lisp;h=7662427adc69fa0b769e216aacc75beba37d6944;hb=df679ed627975948b1cee190f4d79c397588c43e;hp=0fdeb41ddf6c7c9fc893ee510e910c84666fa939;hpb=3c65762b927af861c9c8bc416e4cbac9a14ec0c3;p=sbcl.git diff --git a/src/assembly/x86/array.lisp b/src/assembly/x86/array.lisp index 0fdeb41..7662427 100644 --- a/src/assembly/x86/array.lisp +++ b/src/assembly/x86/array.lisp @@ -25,9 +25,9 @@ (:arg words any-reg ecx-offset) (:res result descriptor-reg edx-offset)) (inst mov result (+ (1- (ash 1 n-lowtag-bits)) - (* vector-data-offset word-bytes))) + (* 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))