X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Falpha%2Fvm.lisp;h=d693269b5260719e1ed656954a3b8e6c1dc2f75c;hb=69d60b456b07a0256f08df0d02484f361ce5737c;hp=7cd45fcec91dc8f17205178f9b743f25104c6022;hpb=cb296ae5a022a5b0f1fd573584301b0d2a9493f9;p=sbcl.git diff --git a/src/compiler/alpha/vm.lisp b/src/compiler/alpha/vm.lisp index 7cd45fc..d693269 100644 --- a/src/compiler/alpha/vm.lisp +++ b/src/compiler/alpha/vm.lisp @@ -286,7 +286,8 @@ (sc-number-or-lose 'zero)) (null (sc-number-or-lose 'null )) - ((or fixnum system-area-pointer character) + ((or (integer #.sb!xc:most-negative-fixnum #.sb!xc:most-positive-fixnum) + system-area-pointer character) (sc-number-or-lose 'immediate )) (symbol (if (static-symbol-p value) @@ -349,15 +350,5 @@ (non-descriptor-stack (format nil "NS~D" offset)) (constant (format nil "Const~D" offset)) (immediate-constant "Immed")))) - -;;; The loader uses this to convert alien names to the form they -;;; occure in the symbol table (for example, prepending an -;;; underscore). -(defun extern-alien-name (name) - (declare (type string name)) - ;; ELF ports currently don't need any prefix - (typecase name - (simple-base-string name) - (base-string (coerce name 'simple-base-string)) - (t (handler-case (coerce name 'simple-base-string) - (type-error () (error "invalid external alien name: ~S" name)))))) + +