Update OPTIMIZATIONS.

It stack allocates now.
This commit is contained in:
Charles Zhang 2023-09-06 14:12:24 +02:00
parent 1396f33fce
commit 8416c7d188

View file

@ -157,19 +157,6 @@ sbcl-0.8.12.30, this affects at least DUMP-OBJECT through
COMPOUND-OBJECT-P, and (LABELS MAYBE-EMIT-MAKE-LOAD-FORMS GROVEL)
through TYPEP UNBOXED-ARRAY, within the compiler itself.
--------------------------------------------------------------------------------
#20
(defun-with-dx foo (x)
(flet ((make (x)
(let ((l (list nil nil)))
(setf (first l) x)
(setf (second l) (1- x))
l)))
(let ((l (make x)))
(declare (dynamic-extent l))
(mapc #'print l))))
Result of MAKE is not stack allocated.
--------------------------------------------------------------------------------
#22
IR2 does not perform unused code flushing.
--------------------------------------------------------------------------------