1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-19 10:10:23 +02:00

-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.
This commit is contained in:
Andy Wingo 2017-11-30 16:58:58 +01:00 committed by Andy Wingo
parent bb77c0f537
commit 3e6857a535
3 changed files with 12 additions and 7 deletions

View file

@ -130,4 +130,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))