diff options
author | Andy Wingo <wingo@pobox.com> | 2017-11-30 16:58:58 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2017-11-30 16:58:58 +0100 |
commit | 5675e46410c9a24b05ddf58cbe3b998a4c9cad7c (patch) | |
tree | a72efb2a4726c90d212d00a1c62cc3f1a19f8616 /module/language/cps/optimize.scm | |
parent | 2ab89102e7c82d114c0ac0ecd2a5d806637fdaab (diff) | |
download | guile-5675e46410c9a24b05ddf58cbe3b998a4c9cad7c.tar.gz |
-O1 disables call precoloring
* module/language/cps/compile-bytecode.scm (compile-function)
(emit-bytecode):
* module/language/cps/slot-allocation.scm (allocate-slots):
* module/language/cps/optimize.scm (cps-default-optimization-options):
Allow the "lazy vars" optimization, a form of slot precoloring, to be
disabled. It will be disabled at -O0 or -O1, to speed compilation
times.
Diffstat (limited to 'module/language/cps/optimize.scm')
-rw-r--r-- | module/language/cps/optimize.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/module/language/cps/optimize.scm b/module/language/cps/optimize.scm index e5f46b953..662191903 100644 --- a/module/language/cps/optimize.scm +++ b/module/language/cps/optimize.scm @@ -133,4 +133,6 @@ #:resolve-self-references? #t #:specialize-numbers? #t #:licm? #t - #:rotate-loops? #t)) + #:rotate-loops? #t + ;; This one is used by the slot allocator. + #:precolor-calls? #t)) |