X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fx86%2Fpred.lisp;h=6babdd8a86a9a2db7155fc3635ad7d18123ce339;hb=8f4ef01b8c9930d7dd0a56a96845a6d84ca5774d;hp=fcfe65f0878dddbc7a3bad3ae8e1454f07063504;hpb=cea4896b2482b7b2b429c1631d774b4cfbc0efba;p=sbcl.git diff --git a/src/compiler/x86/pred.lisp b/src/compiler/x86/pred.lisp index fcfe65f..6babdd8 100644 --- a/src/compiler/x86/pred.lisp +++ b/src/compiler/x86/pred.lisp @@ -49,8 +49,8 @@ (symbol (inst cmp x (+ nil-value (static-symbol-offset val)))) (character - (inst cmp x (logior (ash (char-code val) type-bits) - base-char-type)))))) + (inst cmp x (logior (ash (char-code val) n-widetag-bits) + base-char-widetag)))))) ((sc-is x immediate) ; and y not immediate ;; Swap the order to fit the compare instruction. (let ((val (tn-value x))) @@ -62,8 +62,8 @@ (symbol (inst cmp y (+ nil-value (static-symbol-offset val)))) (character - (inst cmp y (logior (ash (char-code val) type-bits) - base-char-type)))))) + (inst cmp y (logior (ash (char-code val) n-widetag-bits) + base-char-widetag)))))) (t (inst cmp x y)))