mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-11 16:20:19 +02:00
constant-interning fix
(Best-ability ChangeLog annotation added by Christine Lemmer-Webber.) * module/system/vm/assembler.scm (intern-constant): Switch from using vector-ref/immediate to make-short-immediate.
This commit is contained in:
parent
c25539c9dc
commit
8351f21d6d
1 changed files with 2 additions and 1 deletions
|
@ -1358,7 +1358,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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue