1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 13:00:26 +02:00

Fix DFG compute-reachable bug

* module/language/cps/dfg.scm (compute-reachable): Fix embarassing bug
  where we wouldn't actually iterate to fixpoint.  I haven't seen it
  yet, but that's just luck...
This commit is contained in:
Andy Wingo 2014-04-01 20:55:31 +02:00
parent f082c5f30a
commit 0a44542fce

View file

@ -231,7 +231,7 @@ for quickest convergence."
(cond (cond
((zero? n) ((zero? n)
(if changed? (if changed?
(lp 0 #f) (lp k-count #f)
reachable)) reachable))
(else (else
(let ((n (1- n))) (let ((n (1- n)))