[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 13/36: constant-interning fix
From: |
Christopher Allan Webber |
Subject: |
[Guile-commits] 13/36: constant-interning fix |
Date: |
Fri, 25 Mar 2016 20:03:32 +0000 |
cwebber pushed a commit to branch wip-elisp
in repository guile.
commit 8a90afb9eea0d9cf790770d333de85aa7063428a
Author: Robin Templeton <address@hidden>
Date: Fri Jul 18 17:41:48 2014 -0400
constant-interning fix
(Best-ability ChangeLog annotation added by Christopher Allan Webber.)
* module/system/vm/assembler.scm (intern-constant): Switch from using
vector-ref/immediate to make-short-immediate.
---
module/system/vm/assembler.scm | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/module/system/vm/assembler.scm b/module/system/vm/assembler.scm
index 38cce27..3b8f895 100644
--- a/module/system/vm/assembler.scm
+++ b/module/system/vm/assembler.scm
@@ -1073,7 +1073,8 @@ table, its existing label is used directly."
(else
(if (asm-to-file? asm)
(error "don't know how to intern" obj)
- `((vector-ref/immediate 1 0 ,(vlist-length (asm-constants asm)))
+ `((make-short-immediate 1 ,(vlist-length (asm-constants asm)))
+ (vector-ref 1 0 1)
(static-set! 1 ,label 0))))))
(cond
((immediate-bits asm obj) #f)
- [Guile-commits] 05/36: guile-private-ref, (continued)
- [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
- [Guile-commits] 13/36: constant-interning fix,
Christopher Allan Webber <=
- [Guile-commits] 15/36: restore special operator handling, Christopher Allan Webber, 2016/03/25
- [Guile-commits] 17/36: fix `nil?' type inference, Christopher Allan Webber, 2016/03/25
- [Guile-commits] 18/36: compile-elisp fn, Christopher Allan Webber, 2016/03/25
- [Guile-commits] 19/36: elisp @@ macro, Christopher Allan Webber, 2016/03/25
- [Guile-commits] 20/36: defconst, defvar: proclaim special at compile-time, Christopher Allan Webber, 2016/03/25
- [Guile-commits] 21/36: compiler macros, Christopher Allan Webber, 2016/03/25
- [Guile-commits] 22/36: defsubst, Christopher Allan Webber, 2016/03/25
- [Guile-commits] 23/36: use defsubst, Christopher Allan Webber, 2016/03/25
- [Guile-commits] 24/36: fset macro, Christopher Allan Webber, 2016/03/25
- [Guile-commits] 25/36: eval-when, Christopher Allan Webber, 2016/03/25