X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fx86%2Fdebug.lisp;h=690843feff73f68d9bf7b9993e9c906309063ab5;hb=50305b602c3953440af716137a56f50cd204375d;hp=5d49b9f09dfb1143f7ed3b41170a28a448991f12;hpb=6fb6e66f531dfb6140ec3e0cc8f84f6ecd1927ca;p=sbcl.git diff --git a/src/compiler/x86/debug.lisp b/src/compiler/x86/debug.lisp index 5d49b9f..690843f 100644 --- a/src/compiler/x86/debug.lisp +++ b/src/compiler/x86/debug.lisp @@ -43,7 +43,7 @@ (move temp offset) (inst neg temp) (inst mov result - (make-ea :dword :base sap :disp (- word-bytes) :index temp)))) + (make-ea :dword :base sap :disp (- n-word-bytes) :index temp)))) (define-vop (read-control-stack-c) (:translate stack-ref) @@ -55,7 +55,7 @@ (:result-types *) (:generator 5 (inst mov result (make-ea :dword :base sap - :disp (- (* (1+ index) word-bytes)))))) + :disp (- (* (1+ index) n-word-bytes)))))) (define-vop (write-control-stack) (:translate %set-stack-ref) @@ -71,7 +71,7 @@ (move temp offset) (inst neg temp) (inst mov - (make-ea :dword :base sap :disp (- word-bytes) :index temp) value) + (make-ea :dword :base sap :disp (- n-word-bytes) :index temp) value) (move result value))) (define-vop (write-control-stack-c) @@ -85,7 +85,7 @@ (:result-types *) (:generator 5 (inst mov (make-ea :dword :base sap - :disp (- (* (1+ index) word-bytes))) + :disp (- (* (1+ index) n-word-bytes))) value) (move result value))) @@ -99,9 +99,9 @@ (let ((bogus (gen-label)) (done (gen-label))) (loadw temp thing 0 lowtag) - (inst shr temp type-bits) + (inst shr temp n-widetag-bits) (inst jmp :z bogus) - (inst shl temp (1- (integer-length word-bytes))) + (inst shl temp (1- (integer-length n-word-bytes))) (unless (= lowtag other-pointer-lowtag) (inst add temp (- lowtag other-pointer-lowtag))) (move code thing) @@ -151,4 +151,4 @@ (:result-types positive-fixnum) (:generator 5 (loadw res fun 0 fun-pointer-lowtag) - (inst shr res type-bits))) + (inst shr res n-widetag-bits)))