[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: |
Tue, 19 Oct 2021 18:11:22 -0400 (EDT) |
cwebber pushed a commit to branch wip-elisp-rebased
in repository guile.
commit c7fe0eb420848eea690c5fafd8bab6d86f11c46f
Author: Robin Templeton <robin@terpri.org>
AuthorDate: Sat Jun 14 03:33:22 2014 -0400
allow arbitrary constants in cps
(Best-ability ChangeLog annotation added by Christine Lemmer-Webber.)
* module/language/cps/types.scm (constant-type): No longer error
if type not determined. Return &all-types instead.
---
module/language/cps/types.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/module/language/cps/types.scm b/module/language/cps/types.scm
index d3be176..44dd440 100644
--- a/module/language/cps/types.scm
+++ b/module/language/cps/types.scm
@@ -382,7 +382,7 @@ minimum, and maximum."
((not (variable-bound? (make-variable val)))
(return &special-immediate &undefined))
- (else (error "unhandled constant" val))))
+ (else (return &all-types #f))))
(define (constant-type-entry val)
"Compute the type and range of VAL. Return three values: the type,
- [Guile-commits] branch wip-elisp-rebased created (now 4b9b827), Christopher Allan Webber, 2021/10/19
- [Guile-commits] 01/36: Remove CFLAGS from snarfcppopts., Christopher Allan Webber, 2021/10/19
- [Guile-commits] 02/36: intern arbitrary constants, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 05/36: guile-private-ref, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 06/36: allow arbitrary constants in cps,
Christopher Allan Webber <=
- [Guile-commits] 07/36: guile-snarf fix, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 03/36: check symbols constants uninterned, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 04/36: multiple obarrays, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 09/36: read nil/t as #nil/#t, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 10/36: symbol default value procedures, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 11/36: defvar affects default value, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 12/36: constant-interning fix, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 14/36: restore special operator handling, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 08/36: elisp updates, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 13/36: define-module for elisp special modules, Christopher Allan Webber, 2021/10/19