X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fx86%2Fvm.lisp;h=b7320e8ec34a5e4019400ea3795d9ab720abb738;hb=a98da03220d7345b066e4092285f0dfce55d9374;hp=ae0b11147bbd21bf80f7e57e664bc42dd5b4271d;hpb=de19b78acd2ecb0f6caedaaedee35031f0c61c1c;p=sbcl.git diff --git a/src/compiler/x86/vm.lisp b/src/compiler/x86/vm.lisp index ae0b111..b7320e8 100644 --- a/src/compiler/x86/vm.lisp +++ b/src/compiler/x86/vm.lisp @@ -408,6 +408,9 @@ (eql value (log 2l0 2.718281828459045235360287471352662L0))) (sc-number-or-lose 'fp-constant))))) +(!def-vm-support-routine boxed-immediate-sc-p (sc) + (eql sc (sc-number-or-lose 'immediate))) + ;; For an immediate TN, return its value encoded for use as a literal. ;; For any other TN, return the TN. Only works for FIXNUMs, ;; STATIC-SYMBOLs, and CHARACTERS (FLOATs and SAPs are handled