summaryrefslogtreecommitdiff
path: root/src/comp.c
diff options
context:
space:
mode:
authorAndreaCorallo <akrl@sdf.org>2020-03-01 14:42:41 +0000
committerAndrea Corallo <akrl@sdf.org>2020-03-01 19:22:27 +0000
commitb41d76fa5e0bce80a3ef92f30243f9c53b9ac6bc (patch)
tree6a6558d02186994fceec2403c125b82ac604f162 /src/comp.c
parent5543338b0c6245f0d1939d9c2617b65ded59ca3b (diff)
downloademacs-b41d76fa5e0bce80a3ef92f30243f9c53b9ac6bc.tar.gz
emacs-b41d76fa5e0bce80a3ef92f30243f9c53b9ac6bc.tar.bz2
emacs-b41d76fa5e0bce80a3ef92f30243f9c53b9ac6bc.zip
Remove relocation index form LIMPLE setimm
Given that every object identify a relocation class simplify setimm too.
Diffstat (limited to 'src/comp.c')
-rw-r--r--src/comp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/comp.c b/src/comp.c
index bcb0c69986d..0b7b2b92615 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -1594,9 +1594,9 @@ emit_limple_insn (Lisp_Object insn)
}
else if (EQ (op, Qsetimm))
{
- /* Ex: (setimm #s(comp-mvar 9 1 t 3 nil) 3 a). */
- emit_comment (SSDATA (Fprin1_to_string (arg[2], Qnil)));
- imm_reloc_t reloc = obj_to_reloc (arg[2]);
+ /* Ex: (setimm #s(comp-mvar 9 1 t 3 nil) a). */
+ emit_comment (SSDATA (Fprin1_to_string (arg[1], Qnil)));
+ imm_reloc_t reloc = obj_to_reloc (arg[1]);
emit_frame_assignment (
arg[0],
gcc_jit_lvalue_as_rvalue (