1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 13:00:26 +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
parent 2ab89102e7
commit 5675e46410
3 changed files with 12 additions and 7 deletions

View file

@ -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))