[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 06/36: allow arbitrary constants in cps
From: |
Christopher Allan Webber |
Subject: |
[Guile-commits] 06/36: allow arbitrary constants in cps |
Date: |
Fri, 25 Mar 2016 20:02:53 +0000 |
cwebber pushed a commit to branch wip-elisp
in repository guile.
commit 4a14b7f7d86fc9ac29e214c47c934a106749d2ac
Author: Robin Templeton <address@hidden>
Date: Sat Jun 14 03:33:22 2014 -0400
allow arbitrary constants in cps
(Best-ability ChangeLog annotation added by Christopher Allan Webber.)
* module/language/cps/types.scm (constant-type): No longer error
if type not determined. Return &all-types instead.
---
module/language/cps/types.scm | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/module/language/cps/types.scm b/module/language/cps/types.scm
index 4cfc71f..7a117f2 100644
--- a/module/language/cps/types.scm
+++ b/module/language/cps/types.scm
@@ -348,8 +348,7 @@ minimum, and maximum."
((bitvector? val) (return &bitvector (bitvector-length val)))
((array? val) (return &array (array-rank val)))
((not (variable-bound? (make-variable val))) (return &unbound #f))
-
- (else (error "unhandled constant" val))))
+ (else (return &all-types #f))))
(define *type-checkers* (make-hash-table))
(define *type-inferrers* (make-hash-table))
- [Guile-commits] branch wip-elisp created (now 15ca784), Christopher Allan Webber, 2016/03/25
- [Guile-commits] 01/36: Remove CFLAGS from snarfcppopts., Christopher Allan Webber, 2016/03/25
- [Guile-commits] 02/36: intern arbitrary constants, Christopher Allan Webber, 2016/03/25
- [Guile-commits] 03/36: check symbols constants uninterned, Christopher Allan Webber, 2016/03/25
- [Guile-commits] 06/36: allow arbitrary constants in cps,
Christopher Allan Webber <=
- [Guile-commits] 05/36: guile-private-ref, Christopher Allan Webber, 2016/03/25
- [Guile-commits] 04/36: multiple obarrays, Christopher Allan Webber, 2016/03/25
- [Guile-commits] 07/36: prefer compilers earlier in list, Christopher Allan Webber, 2016/03/25
- [Guile-commits] 08/36: guile-snarf fix, Christopher Allan Webber, 2016/03/25
- [Guile-commits] 09/36: elisp updates, Christopher Allan Webber, 2016/03/25
- [Guile-commits] 10/36: read nil/t as #nil/#t, Christopher Allan Webber, 2016/03/25
- [Guile-commits] 12/36: defvar affects default value, Christopher Allan Webber, 2016/03/25
- [Guile-commits] 11/36: symbol default value procedures, Christopher Allan Webber, 2016/03/25
- [Guile-commits] 14/36: define-module for elisp special modules, Christopher Allan Webber, 2016/03/25
- [Guile-commits] 16/36: fix symbol-function, Christopher Allan Webber, 2016/03/25