X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Falpha%2Fvm.lisp;h=77b6319bddbe60ce433e3ffb5a6e75ee0ee8ab21;hb=c712f88b26cd7547ee984b90e18c134401335bc3;hp=d16e08aaf707035c02342e0d38d6346b3e4098a6;hpb=56a2dbbb9d79a62db99cc4061e50fca74fcf907e;p=sbcl.git diff --git a/src/compiler/alpha/vm.lisp b/src/compiler/alpha/vm.lisp index d16e08a..77b6319 100644 --- a/src/compiler/alpha/vm.lisp +++ b/src/compiler/alpha/vm.lisp @@ -305,6 +305,11 @@ (if (eql value 0d0) (sc-number-or-lose 'fp-double-zero ) nil)))) + +(!def-vm-support-routine boxed-immediate-sc-p (sc) + (or (eql sc (sc-number-or-lose 'zero)) + (eql sc (sc-number-or-lose 'null)) + (eql sc (sc-number-or-lose 'immediate)))) ;;;; function call parameters