mirror of
git://git.code.sf.net/p/sbcl/sbcl
synced 2026-09-10 07:26:40 -04:00
Update OPTIMIZATIONS.
It stack allocates now.
This commit is contained in:
parent
1396f33fce
commit
8416c7d188
|
|
@ -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.
|
||||
--------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue