[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 14/30: Fix type check elision for branches
From: |
Andy Wingo |
Subject: |
[Guile-commits] 14/30: Fix type check elision for branches |
Date: |
Fri, 24 Nov 2017 09:24:21 -0500 (EST) |
wingo pushed a commit to branch master
in repository guile.
commit b2dc53a3e2d5806a2d9bd82d1644a9c5c76630a9
Author: Andy Wingo <address@hidden>
Date: Tue Nov 21 21:38:17 2017 +0100
Fix type check elision for branches
* module/language/cps/type-checks.scm (elide-type-checks): Fix bug where
we were matching against a list instead of a record. Doh!
---
module/language/cps/type-checks.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/module/language/cps/type-checks.scm
b/module/language/cps/type-checks.scm
index a022c3a..d7503c9 100644
--- a/module/language/cps/type-checks.scm
+++ b/module/language/cps/type-checks.scm
@@ -55,7 +55,7 @@ KFUN where we can prove that no assertion will be raised at
run-time."
(($ $continue k src ($ $primcall name param args))
(visit-primcall effects fx label name param
args))
(($ $continue k src
- ($ $branch _ ($primcall name param args)))
+ ($ $branch _ ($ $primcall name param args)))
(visit-primcall effects fx label name param
args))
(_ effects)))
(_ effects)))
- [Guile-commits] branch master updated (0951551 -> 7d71d9b), Andy Wingo, 2017/11/24
- [Guile-commits] 01/30: ursh, ursh/immediate, etc only residualized if count < 64, Andy Wingo, 2017/11/24
- [Guile-commits] 05/30: Fix s64->scm reducer, Andy Wingo, 2017/11/24
- [Guile-commits] 02/30: Revert specialization of fixnum phi variables, Andy Wingo, 2017/11/24
- [Guile-commits] 09/30: Fix logand type inference, Andy Wingo, 2017/11/24
- [Guile-commits] 08/30: Revert "Slot allocation allows s64/u64 representations of same var", Andy Wingo, 2017/11/24
- [Guile-commits] 07/30: Fix u64/s64 typesafety around fixnum (un)tagging, Andy Wingo, 2017/11/24
- [Guile-commits] 14/30: Fix type check elision for branches,
Andy Wingo <=
- [Guile-commits] 06/30: Separate u64 and s64 type inferrers now that ops are monomorphic, Andy Wingo, 2017/11/24
- [Guile-commits] 18/30: Remove thunk?, integer? simple predicate inferrers, Andy Wingo, 2017/11/24
- [Guile-commits] 17/30: Add support for bignum? CPS primitive., Andy Wingo, 2017/11/24
- [Guile-commits] 22/30: Fix inference of generic < on NaN values, Andy Wingo, 2017/11/24
- [Guile-commits] 20/30: Add &exact-number helper definition, Andy Wingo, 2017/11/24
- [Guile-commits] 03/30: Better support for unboxed signed arithmetic, Andy Wingo, 2017/11/24
- [Guile-commits] 30/30: Optimize check-urange in assembler.scm, Andy Wingo, 2017/11/24
- [Guile-commits] 27/30: Add integer devirtualization pass., Andy Wingo, 2017/11/24
- [Guile-commits] 12/30: Remove effects-analysis exports that were undefined, Andy Wingo, 2017/11/24
- [Guile-commits] 11/30: Specialize fixnum and s64 phis, Andy Wingo, 2017/11/24