[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 06/12: Macro fix to CPS build-term
From: |
Andy Wingo |
Subject: |
[Guile-commits] 06/12: Macro fix to CPS build-term |
Date: |
Fri, 29 May 2020 10:34:08 -0400 (EDT) |
wingo pushed a commit to branch master
in repository guile.
commit 1baed763498e442ddf31c7b72ce089100931646b
Author: Andy Wingo <wingo@pobox.com>
AuthorDate: Fri May 29 11:19:29 2020 +0200
Macro fix to CPS build-term
* module/language/cps.scm (build-term): Match on $branch and $throw as
literals.
---
module/language/cps.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/module/language/cps.scm b/module/language/cps.scm
index 604347d..99efc7e 100644
--- a/module/language/cps.scm
+++ b/module/language/cps.scm
@@ -221,7 +221,7 @@
(make-$kclause (build-arity arity) kbody kalternate))))
(define-syntax build-term
- (syntax-rules (unquote $rec $continue)
+ (syntax-rules (unquote $continue $branch $prompt $throw)
((_ (unquote exp))
exp)
((_ ($continue k src exp))
- [Guile-commits] branch master updated (4677c12 -> 4c59ff7), Andy Wingo, 2020/05/29
- [Guile-commits] 01/12: Renumber before CSE, Andy Wingo, 2020/05/29
- [Guile-commits] 03/12: Refactor CSE to analyze and transform in a single pass, Andy Wingo, 2020/05/29
- [Guile-commits] 04/12: CSE eliminates expressions at continuations, Andy Wingo, 2020/05/29
- [Guile-commits] 02/12: Refactor CSE to take advantage of RPO numbering, Andy Wingo, 2020/05/29
- [Guile-commits] 06/12: Macro fix to CPS build-term,
Andy Wingo <=
- [Guile-commits] 05/12: Thread flow analysis through CSE pass, Andy Wingo, 2020/05/29
- [Guile-commits] 07/12: Add indentation rule for let/ec, Andy Wingo, 2020/05/29
- [Guile-commits] 09/12: Use intmaps in CSE equivalent expression table, Andy Wingo, 2020/05/29
- [Guile-commits] 11/12: CSE forwards branch predecessors where the branch folds, Andy Wingo, 2020/05/29
- [Guile-commits] 12/12: CSE forward-propagates changes to CFG, Andy Wingo, 2020/05/29
- [Guile-commits] 08/12: Eager graph pruning in CSE, Andy Wingo, 2020/05/29
- [Guile-commits] 10/12: CSE refactor, Andy Wingo, 2020/05/29