diff options
| author | AndreaCorallo | 2020-03-01 14:42:41 +0000 |
|---|---|---|
| committer | Andrea Corallo | 2020-03-01 19:22:27 +0000 |
| commit | b41d76fa5e0bce80a3ef92f30243f9c53b9ac6bc (patch) | |
| tree | 6a6558d02186994fceec2403c125b82ac604f162 /src | |
| parent | 5543338b0c6245f0d1939d9c2617b65ded59ca3b (diff) | |
| download | emacs-b41d76fa5e0bce80a3ef92f30243f9c53b9ac6bc.tar.gz emacs-b41d76fa5e0bce80a3ef92f30243f9c53b9ac6bc.zip | |
Remove relocation index form LIMPLE setimm
Given that every object identify a relocation class simplify setimm too.
Diffstat (limited to 'src')
| -rw-r--r-- | src/comp.c | 6 |
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) | |||
| 1594 | } | 1594 | } |
| 1595 | else if (EQ (op, Qsetimm)) | 1595 | else if (EQ (op, Qsetimm)) |
| 1596 | { | 1596 | { |
| 1597 | /* Ex: (setimm #s(comp-mvar 9 1 t 3 nil) 3 a). */ | 1597 | /* Ex: (setimm #s(comp-mvar 9 1 t 3 nil) a). */ |
| 1598 | emit_comment (SSDATA (Fprin1_to_string (arg[2], Qnil))); | 1598 | emit_comment (SSDATA (Fprin1_to_string (arg[1], Qnil))); |
| 1599 | imm_reloc_t reloc = obj_to_reloc (arg[2]); | 1599 | imm_reloc_t reloc = obj_to_reloc (arg[1]); |
| 1600 | emit_frame_assignment ( | 1600 | emit_frame_assignment ( |
| 1601 | arg[0], | 1601 | arg[0], |
| 1602 | gcc_jit_lvalue_as_rvalue ( | 1602 | gcc_jit_lvalue_as_rvalue ( |