fix misoptimization of TRUNCATE
[sbcl.git] / src / compiler / ir2tran.lisp
index 1674834..4a35b47 100644 (file)
   (let* ((type (node-derived-type call))
          (types
           (mapcar #'primitive-type
-                  (if (values-type-p type)
+                  (if (args-type-p type)
                       (append (args-type-required type)
                               (args-type-optional type))
                       (list type))))