X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcompiler%2Fsparc%2Farith.lisp;h=b0fa8267813652128536e0f65a3464639afe2e1b;hb=57e21c4b62e8c1a1ee7ef59ed2abb0c864fb06bc;hp=2669bf6d607bdbcbce46287148748b9625a2a487;hpb=071afc96281a1dac1938268b1cf35d7e92c7e2c0;p=sbcl.git diff --git a/src/compiler/sparc/arith.lisp b/src/compiler/sparc/arith.lisp index 2669bf6..b0fa826 100644 --- a/src/compiler/sparc/arith.lisp +++ b/src/compiler/sparc/arith.lisp @@ -1256,7 +1256,7 @@ ((unsigned-byte 32) (constant-arg (unsigned-byte 32))) (unsigned-byte 32)) "recode as shifts and adds" - (let ((y (continuation-value y))) + (let ((y (lvar-value y))) (multiple-value-bind (result adds shifts) (ub32-strength-reduce-constant-multiply 'x y) (cond @@ -1275,8 +1275,8 @@ ;; instead of calling the inline ASH which has to check for the ;; direction of the shift at run-time. (deftransform ash ((num shift) (integer integer)) - (let ((num-type (continuation-type num)) - (shift-type (continuation-type shift))) + (let ((num-type (lvar-type num)) + (shift-type (lvar-type shift))) ;; Can only handle right shifts (unless (csubtypep shift-type (specifier-type '(integer * 0))) (give-up-ir1-transform))