mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-28 07:50:20 +02:00
Disable Tree-IL CSE
* module/language/tree-il/optimize.scm (optimize): Disable Tree-IL CSE by default.
This commit is contained in:
parent
a79f4f67e2
commit
84d3ce20cd
1 changed files with 6 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
;;; Tree-il optimizer
|
||||
|
||||
;; Copyright (C) 2009, 2011, 2012, 2013 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009, 2011, 2012, 2013, 2014 Free Software Foundation, Inc.
|
||||
|
||||
;;;; This library is free software; you can redistribute it and/or
|
||||
;;;; modify it under the terms of the GNU Lesser General Public
|
||||
|
@ -35,10 +35,11 @@
|
|||
(lambda (x e) x))
|
||||
(_ peval)))
|
||||
(cse (match (memq #:cse? opts)
|
||||
((#:cse? #f _ ...)
|
||||
;; Disable CSE.
|
||||
(lambda (x) x))
|
||||
(_ cse))))
|
||||
((#:cse? #t _ ...)
|
||||
cse)
|
||||
(_
|
||||
;; Disable Tree-IL CSE by default.
|
||||
(lambda (x) x)))))
|
||||
(fix-letrec
|
||||
(verify-tree-il
|
||||
(cse
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue