X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fconstraint.lisp;h=550f9b9bd54da23892cbddfb74aa7803820459c0;hb=d7e55b414d180341d79e0eddc957e1aa52551c38;hp=fae2b81a814da4b5f0db9cbd7aed3758b8affe97;hpb=dc38fdd88ed505af945ee951635b396e129edb28;p=sbcl.git diff --git a/src/compiler/constraint.lisp b/src/compiler/constraint.lisp index fae2b81..550f9b9 100644 --- a/src/compiler/constraint.lisp +++ b/src/compiler/constraint.lisp @@ -585,7 +585,7 @@ (precise-add-test-constraint fun x y not-p constraints consequent-constraints) (precise-add-test-constraint fun x y (not not-p) constraints - alternative-constraints)) + alternative-constraints)) (values)) (defun quick-add-complement-constraints (fun x y not-p @@ -669,10 +669,7 @@ (add 'eql var1 var2 nil)) ((constant-lvar-p arg2) (add 'eql var1 - (let ((use (principal-lvar-use arg2))) - (if (ref-p use) - (ref-leaf use) - (find-constant (lvar-value arg2)))) + (find-constant (lvar-value arg2)) nil)) (t (add-test-constraint quick-p