mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-30 06:50:31 +02:00
Remove useless code in CSE
* module/language/cps/cse.scm (eliminate-common-subexpressions-in-fun): Defs must be a list.
This commit is contained in:
parent
2534326e5e
commit
125cb9fa6d
1 changed files with 0 additions and 4 deletions
|
@ -497,10 +497,6 @@ for a label, it isn't known to be constant at that label."
|
||||||
(match term-key
|
(match term-key
|
||||||
(('op arg ...)
|
(('op arg ...)
|
||||||
(match defs
|
(match defs
|
||||||
(#f
|
|
||||||
;; If the successor is a control-flow join, don't
|
|
||||||
;; pretend to know the values of its defs.
|
|
||||||
#f)
|
|
||||||
((def) (add-def! (list 'op* arg* ...) aux) ...)))
|
((def) (add-def! (list 'op* arg* ...) aux) ...)))
|
||||||
(_ (add-definitions . clauses))))
|
(_ (add-definitions . clauses))))
|
||||||
((add-definitions
|
((add-definitions
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue