Don't delete the XEP when &optional dispatch never reaches the main entry.
[sbcl.git] / tests / static-alloc.impure.lisp
bloba23a7085e1e1fbeffd44f5e151a699d70021eb8d
2 (dolist (type '(single-float double-float (unsigned-byte 8)
3 (unsigned-byte 32) (signed-byte 32)))
4 (let* ((vectors (loop
5 for i upto 128
6 collect (sb-int:make-static-vector
7 256 :element-type type)))
8 (saps (mapcar #'sb-sys:vector-sap vectors)))
9 (gc :full t)
10 (assert (every #'sb-sys:sap=
11 saps
12 (mapcar #'sb-sys:vector-sap vectors)))))