0.9.11.16:
[sbcl.git] / src / code / pred.lisp
index 93299dd..0d34b48 100644 (file)
@@ -21,7 +21,8 @@
 (defun vector-t-p (x)
   (or (simple-vector-p x)
       (and (complex-vector-p x)
-           (simple-vector-p (%array-data-vector x)))))
+           (do ((data (%array-data-vector x) (%array-data-vector data)))
+               ((not (array-header-p data)) (simple-vector-p data))))))
 \f
 ;;;; primitive predicates. These must be supported directly by the
 ;;;; compiler.