X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fpolicies.lisp;h=4680f71daeee6a2a203b4537066fe5db90dd1caa;hb=15d6e7c9a2c3234f95dfe278046fa2fee1b0c007;hp=c55e3a62e42a483c0db3db09501377bb09252322;hpb=942e5de3f3e27e1cc6ae4aae69c040fa1dc7db00;p=sbcl.git diff --git a/src/compiler/policies.lisp b/src/compiler/policies.lisp index c55e3a6..4680f71 100644 --- a/src/compiler/policies.lisp +++ b/src/compiler/policies.lisp @@ -43,3 +43,26 @@ 3 0) ("no" "maybe" "yes" "yes")) + +(define-optimization-quality recognize-self-calls + (if (> (max speed space) debug) + 3 + 0) + ("no" "maybe" "yes" "yes")) + +(define-optimization-quality stack-allocate-dynamic-extent + (if (and (> (max speed space) (max debug safety)) + (< safety 3)) + 3 + 0) + ("no" "maybe" "yes" "yes")) + +(define-optimization-quality float-accuracy + 3 + ("degraded" "full" "full" "full")) + +(define-optimization-quality insert-step-conditions + (if (> debug (max speed space)) + debug + 0) + ("no" "no" "partial" "full"))