diff options
author | Robin Templeton <robin@terpri.org> | 2014-07-18 17:41:48 -0400 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2020-04-04 16:24:21 +0200 |
commit | 802ec7c61a5970ef0d996d5eb5bd4355dd48fc3e (patch) | |
tree | 21b655911d730a91e2a9f29db5f5fc0631a0c34a /module | |
parent | 4d27b8e3d0a0014adbd1ea99b4a31369fc054337 (diff) |
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.
Diffstat (limited to 'module')
-rw-r--r-- | 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 343f4f1ff..0a1039304 100644 --- a/module/system/vm/assembler.scm +++ b/module/system/vm/assembler.scm @@ -1099,7 +1099,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) |