X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcode%2Fdebug-int.lisp;h=ef48049f5dd53f08727a54a6de238ef581fb4c1e;hb=4255b37e50876702d2563f3418a44a3f5bf8a2e8;hp=9df9a292f537b76165dda5d594e84ea739669dee;hpb=e57523089c7ad0ce2c874c03ecfe721d299efbfb;p=sbcl.git diff --git a/src/code/debug-int.lisp b/src/code/debug-int.lisp index 9df9a29..ef48049 100644 --- a/src/code/debug-int.lisp +++ b/src/code/debug-int.lisp @@ -527,11 +527,13 @@ #!-stack-grows-downward-not-upward (and (sap< x (current-sp)) (sap<= control-stack-start x) - (or (not aligned) (zerop (logand (sap-int x) sb!vm:fixnum-tag-mask)))) + (or (not aligned) (zerop (logand (sap-int x) + (1- (ash 1 sb!vm:word-shift)))))) #!+stack-grows-downward-not-upward (and (sap>= x (current-sp)) (sap> control-stack-end x) - (or (not aligned) (zerop (logand (sap-int x) sb!vm:fixnum-tag-mask)))))) + (or (not aligned) (zerop (logand (sap-int x) + (1- (ash 1 sb!vm:word-shift)))))))) (declaim (inline component-ptr-from-pc)) (sb!alien:define-alien-routine component-ptr-from-pc (system-area-pointer)