fix misoptimization of TRUNCATE
[sbcl.git] / src / code / late-type.lisp
index 13e3368..d1eaa9e 100644 (file)
       1
       (values-type-max-value-count type)))
 
+;;; VALUES type with a single value.
 (defun type-single-value-p (type)
-  (and (values-type-p type)
+  (and (%values-type-p type)
        (not (values-type-rest type))
        (null (values-type-optional type))
        (singleton-p (values-type-required type))))