X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcompiler%2Fpolicies.lisp;h=2264f6de743356280960312868c9eb7d01a300ef;hb=5ecef987f3847ed5de8c03f66ef9d8ab468af993;hp=be12bf67e784e46c6a04f02c345bcfbe9d397db7;hpb=d8edba3a4e96a718d9eab64d2cbb0b70d0946546;p=sbcl.git diff --git a/src/compiler/policies.lisp b/src/compiler/policies.lisp index be12bf6..2264f6d 100644 --- a/src/compiler/policies.lisp +++ b/src/compiler/policies.lisp @@ -15,7 +15,6 @@ (cond ((= safety 0) 0) ;; FIXME: It is duplicated in PROBABLE-TYPE-CHECK-P and in ;; some other places. - ((and (<= speed safety) (<= space safety) (<= compilation-speed safety)) @@ -23,6 +22,11 @@ (t 2)) ("no" "maybe" "fast" "full")) +(define-optimization-quality check-tag-existence + (cond ((= safety 0) 0) + (t 3)) + ("no" "maybe" "yes" "yes")) + (define-optimization-quality let-convertion (if (<= debug speed) 3 0) ("off" "maybe" "on" "on")) @@ -49,3 +53,20 @@ 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"))