Commit 60f29be9 authored by gerd's avatar gerd
Browse files

* src/compiler/x86/macros.lisp (allocation): Use >= speed safety

	for dynamic-extent because it's otherwise impossible to use use
	dynamic-extent in code that otherwise needs to have type checks
	compiled in.
parent 17fdaff0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(ext:file-comment
 "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/x86/macros.lisp,v 1.18 2003/08/05 14:04:51 gerd Exp $")
 "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/x86/macros.lisp,v 1.19 2003/08/05 19:46:53 gerd Exp $")
;;;
;;; **********************************************************************
;;;
@@ -261,7 +261,7 @@
   appropriate, allocate from the stack."
  (cond ((and inline
	      dynamic-extent
	      (policy inline (> speed safety)))
	      (policy inline (>= speed safety)))
	 (stack-allocation alloc-tn size))
	((and *maybe-use-inline-allocation*
	      (or (null inline)
+4 −4
Original line number Diff line number Diff line
@@ -169,10 +169,10 @@ New in this release:
       :newest to create versions.
     - LDB backtrace on x86.
     - On x86, the &REST arg list of a non-local function is allocated
       on the stack if declared DYNAMIC-EXTENT, and speed is greater
       than safety.  Be warned that all bets are off if a
       stack-allocated object or parts of it escape; CMUCL might
       crash or format your hard disk.
       on the stack if declared DYNAMIC-EXTENT, and speed is >=
       safety.  Be warned that all bets are off if a stack-allocated
       object or parts of it escape; CMUCL might crash or format your
       hard disk.

  * Numerous improvements to the PCL implementation of CLOS:
     - Gerd's PCL has been added, which fixes numerous bugs and ANSI/