HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f082c5f
)
Fix DFG compute-reachable bug
author
Andy Wingo
<wingo@pobox.com>
Tue, 1 Apr 2014 18:55:31 +0000
(20:55 +0200)
committer
Andy Wingo
<wingo@pobox.com>
Tue, 1 Apr 2014 18:55:31 +0000
(20:55 +0200)
* 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...
module/language/cps/dfg.scm
patch
|
blob
|
blame
|
history
diff --git
a/module/language/cps/dfg.scm
b/module/language/cps/dfg.scm
index
4f32fce
..
c390427
100644
(file)
--- a/
module/language/cps/dfg.scm
+++ b/
module/language/cps/dfg.scm
@@
-231,7
+231,7
@@
for quickest convergence."
(cond
((zero? n)
(if changed?
- (lp
0
#f)
+ (lp
k-count
#f)
reachable))
(else
(let ((n (1- n)))