X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fltn.lisp;h=6dc41818e1d9d37c64b9c2e844d86fd13ef060c3;hb=d7e55b414d180341d79e0eddc957e1aa52551c38;hp=80f112a648a104973f5a0b9124a1d15b79eaa253;hpb=e3113504fca73ebd1b992930315386d9d3ae5d18;p=sbcl.git diff --git a/src/compiler/ltn.lisp b/src/compiler/ltn.lisp index 80f112a..6dc4181 100644 --- a/src/compiler/ltn.lisp +++ b/src/compiler/ltn.lisp @@ -367,7 +367,7 @@ (unless (and (combination-p use) (let ((info (basic-combination-info use))) (and (template-p info) - (eq (template-result-types info) :conditional)))) + (template-conditional-p info)))) (annotate-ordinary-lvar test))) (values)) @@ -523,7 +523,7 @@ (if (and safe-p (template-args-ok template call nil)) :arg-check :arg-types))) - ((eq (template-result-types template) :conditional) + ((template-conditional-p template) (let ((dest (lvar-dest lvar))) (if (and (if-p dest) (immediately-used-p (if-test dest) call))