X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fx86%2Fcell.lisp;h=e30f508ef358f7dc20e0f0a485f9f11fceabe849;hb=9be48f2a73ca5f4cc0848b8c0adad7127de10373;hp=4504300c77aefeab64406ed5473f296de75bfb3d;hpb=bf67e051e6cfdb061c3081dcd65100bd49d5e464;p=sbcl.git diff --git a/src/compiler/x86/cell.lisp b/src/compiler/x86/cell.lisp index 4504300..e30f508 100644 --- a/src/compiler/x86/cell.lisp +++ b/src/compiler/x86/cell.lisp @@ -28,21 +28,7 @@ (:ignore name) (:results) (:generator 1 - (if (sc-is value immediate) - (let ((val (tn-value value))) - (etypecase val - (integer - (storew (fixnumize val) - object offset lowtag)) - (symbol - (storew (+ nil-value (static-symbol-offset val)) - object offset lowtag)) - (character - (storew (logior (ash (char-code val) n-widetag-bits) - character-widetag) - object offset lowtag)))) - ;; Else, value not immediate. - (storew value object offset lowtag)))) + (storew (encode-value-if-immediate value) object offset lowtag)))