[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 03/06: Fix some cps2 utils bugs
From: |
Andy Wingo |
Subject: |
[Guile-commits] 03/06: Fix some cps2 utils bugs |
Date: |
Wed, 03 Jun 2015 14:49:55 +0000 |
wingo pushed a commit to branch master
in repository guile.
commit ea5187ad862817e1bdedc9e03e468f5572aaf4de
Author: Andy Wingo <address@hidden>
Date: Wed Jun 3 11:20:22 2015 +0200
Fix some cps2 utils bugs
* module/language/cps2/utils.scm (compute-function-body): $callk does
not add to a local function graph.
(compute-successors): Fix extraction of "handler" continuation for
$prompt.
---
module/language/cps2/utils.scm | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/module/language/cps2/utils.scm b/module/language/cps2/utils.scm
index 79d37e8..d375925 100644
--- a/module/language/cps2/utils.scm
+++ b/module/language/cps2/utils.scm
@@ -197,8 +197,6 @@
(visit-cont k (match exp
(($ $branch k)
(visit-cont k labels))
- (($ $callk k)
- (visit-cont k labels))
(($ $prompt escape? tag k)
(visit-cont k labels))
(_ labels)))))))))))
@@ -219,7 +217,7 @@
(($ $kargs names vars ($ $continue k src exp))
(match exp
(($ $branch kt) (propagate2 k kt))
- (($ $prompt escape? handler) (propagate2 k handler))
+ (($ $prompt escape? tag handler) (propagate2 k handler))
(_ (propagate1 k))))
(($ $kreceive arity k)
(propagate1 k))
- [Guile-commits] branch master updated (726558f -> f541ee1), Andy Wingo, 2015/06/03
- [Guile-commits] 05/06: Add setk clause to with-cps, Andy Wingo, 2015/06/03
- [Guile-commits] 01/06: Port prune-bailouts pass to CPS2, Andy Wingo, 2015/06/03
- [Guile-commits] 02/06: Move some graph utilities from contification.scm to utils.scm, Andy Wingo, 2015/06/03
- [Guile-commits] 03/06: Fix some cps2 utils bugs,
Andy Wingo <=
- [Guile-commits] 06/06: Port type-fold to CPS2, Andy Wingo, 2015/06/03
- [Guile-commits] 04/06: Port CSE to CPS2, Andy Wingo, 2015/06/03