X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fltn.lisp;h=d2b162e7936d0111b712ddccce780b1e6b45f4d5;hb=0f3a5f2e8886d18d0b4f6485c38a42be629422ae;hp=80f112a648a104973f5a0b9124a1d15b79eaa253;hpb=e3113504fca73ebd1b992930315386d9d3ae5d18;p=sbcl.git diff --git a/src/compiler/ltn.lisp b/src/compiler/ltn.lisp index 80f112a..d2b162e 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)) @@ -606,7 +606,7 @@ (defvar *efficiency-note-cost-threshold* 5 #!+sb-doc - "This is the minumum cost difference between the chosen implementation and + "This is the minimum cost difference between the chosen implementation and the next alternative that justifies an efficiency note.") (declaim (type index *efficiency-note-cost-threshold*))