X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fpolicies.lisp;h=0ab60a1cc85e15ae114b353ceabf5788eb00f0b4;hb=2f8c59edcd41f03c5daebeaf87518b5071a19826;hp=1ee4f10340b923f6f5fbb88609a7bf3c114d9bd2;hpb=c3c5e3bac6e4ca8e9d1c6960590d88e16254cfea;p=sbcl.git diff --git a/src/compiler/policies.lisp b/src/compiler/policies.lisp index 1ee4f10..0ab60a1 100644 --- a/src/compiler/policies.lisp +++ b/src/compiler/policies.lisp @@ -11,6 +11,12 @@ (in-package "SB!C") +(define-optimization-quality check-constant-modification + safety + ("no" "maybe" "yes" "yes") + "Control whether the compiler should check for constant +modification. Defaults to SAFETY.") + (define-optimization-quality type-check ;; FIXME: grepping the tree for "policy.*safety" yields some ;; places which might want to use this instead -- or @@ -94,6 +100,13 @@ and will refer to the new function, bound to FOO.") "Control whether allocate objects, declared DYNAMIC-EXTENT, on stack.") +(define-optimization-quality stack-allocate-value-cells + ;; FIXME, see bug 419 + 0 + ("no" "maybe" "yes" "yes") + "Control whether allocate closure variable storage, declared +DYNAMIC-EXTENT, on stack.") + (define-optimization-quality stack-allocate-vector (cond ((= stack-allocate-dynamic-extent 0) 0) ((= safety 0) 3)