[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 01/25: Fix verify.scm for call-thunk/no-inline
From: |
Andy Wingo |
Subject: |
[Guile-commits] 01/25: Fix verify.scm for call-thunk/no-inline |
Date: |
Mon, 8 Jan 2018 09:25:01 -0500 (EST) |
wingo pushed a commit to branch master
in repository guile.
commit d4502dba076a4567cb8f28858877aae06e2e3da2
Author: Andy Wingo <address@hidden>
Date: Fri Jan 5 19:50:12 2018 +0100
Fix verify.scm for call-thunk/no-inline
* module/language/cps/verify.scm (check-arities): Allow
call-thunk/no-inline to continue to $kreceive.
---
module/language/cps/verify.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/module/language/cps/verify.scm b/module/language/cps/verify.scm
index e99afb8..938c37a 100644
--- a/module/language/cps/verify.scm
+++ b/module/language/cps/verify.scm
@@ -282,7 +282,11 @@ definitions that are available at LABEL."
(assert-kreceive-or-ktail))
(($ $primcall name param args)
(match cont
- (($ $kargs) #t)))))
+ (($ $kargs) #t)
+ (($ $kreceive)
+ (match exp
+ (($ $primcall 'call-thunk/no-inline #f (thunk)) #t)
+ (_ (cont (error "bad continuation" exp cont)))))))))
(define (check-term term)
(match term
(($ $continue k src exp)
- [Guile-commits] 12/25: Remove now-unused make-vector et al instructions, (continued)
- [Guile-commits] 12/25: Remove now-unused make-vector et al instructions, Andy Wingo, 2018/01/08
- [Guile-commits] 18/25: Minor compile-cps refactor for cons, Andy Wingo, 2018/01/08
- [Guile-commits] 15/25: CPS type analysis support for mutable vs immutable vectors, Andy Wingo, 2018/01/08
- [Guile-commits] 21/25: Remove pair-related instructions, Andy Wingo, 2018/01/08
- [Guile-commits] 10/25: CPS pass now expects exploded vector primitives, Andy Wingo, 2018/01/08
- [Guile-commits] 13/25: Add CPS compilation support for mutable-vector?, Andy Wingo, 2018/01/08
- [Guile-commits] 24/25: Sync IP before allocating closures, Andy Wingo, 2018/01/08
- [Guile-commits] 19/25: Expand pair-related primcalls, Andy Wingo, 2018/01/08
- [Guile-commits] 16/25: Re-add compiler backend support for immutable vectors, Andy Wingo, 2018/01/08
- [Guile-commits] 25/25: Save VM compare result before calling out to hooks, Andy Wingo, 2018/01/08
- [Guile-commits] 01/25: Fix verify.scm for call-thunk/no-inline,
Andy Wingo <=
- [Guile-commits] 22/25: Better compilation of vector constructors and initializers, Andy Wingo, 2018/01/08
- [Guile-commits] 08/25: Instruction explosion for /immediate variants of vector prims, Andy Wingo, 2018/01/08
- [Guile-commits] 06/25: Fix primitive reification for scm-set! / word-set!., Andy Wingo, 2018/01/08
- [Guile-commits] 17/25: Compiler frontend support for vector mutability checks, Andy Wingo, 2018/01/08
- [Guile-commits] 23/25: Improve make-vector compilation for known big sizes, Andy Wingo, 2018/01/08
- [Guile-commits] 04/25: Make integer devirtualization less eager, Andy Wingo, 2018/01/08
- [Guile-commits] 02/25: Fix specialization of the allocate-words family of instructions, Andy Wingo, 2018/01/08
- [Guile-commits] 14/25: Fix bug in struct-ref effects analysis, Andy Wingo, 2018/01/08
- [Guile-commits] 20/25: Remove special optimizer and backend support for pairs, Andy Wingo, 2018/01/08