1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-29 22:40:34 +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:
Andy Wingo 2023-06-22 14:38:40 +02:00
parent 2534326e5e
commit 125cb9fa6d

View file

@ -497,10 +497,6 @@ for a label, it isn't known to be constant at that label."
(match term-key
(('op arg ...)
(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) ...)))
(_ (add-definitions . clauses))))
((add-definitions