X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fx86-64%2Fdebug.lisp;h=ef6e0e29cbe190048e787f438548ffd796d1c62a;hb=b83353d9f998e5c0e34604b5593df70c66d2c510;hp=5f720fed4464dca0ae01a07d4a7ae2a93801389e;hpb=952d16ab5880823c1864eb9105bb269e2e00760d;p=sbcl.git diff --git a/src/compiler/x86-64/debug.lisp b/src/compiler/x86-64/debug.lisp index 5f720fe..ef6e0e2 100644 --- a/src/compiler/x86-64/debug.lisp +++ b/src/compiler/x86-64/debug.lisp @@ -43,7 +43,8 @@ (move temp offset) (inst neg temp) (inst mov result - (make-ea :qword :base sap :disp (frame-byte-offset 0) :index temp)))) + (make-ea :qword :base sap :disp (frame-byte-offset 0) :index temp + :scale (ash 1 (- word-shift n-fixnum-tag-bits)))))) (define-vop (read-control-stack-c) (:translate stack-ref) @@ -71,7 +72,8 @@ (move temp offset) (inst neg temp) (inst mov - (make-ea :qword :base sap :disp (frame-byte-offset 0) :index temp) + (make-ea :qword :base sap :disp (frame-byte-offset 0) :index temp + :scale (ash 1 (- word-shift n-fixnum-tag-bits))) value) (move result value)))