0.9.7.28:
[sbcl.git] / src / code / interr.lisp
index 0069e54..5bb783f 100644 (file)
          :operands (list this that)))
 
 (deferr object-not-type-error (object type)
-  (error (if (and (typep object 'instance)
+  (error (if (and (%instancep object)
                   (layout-invalid (%instance-layout object)))
              'layout-invalid
              'type-error)