diff options
| author | Andrea Corallo | 2020-12-22 09:57:51 +0100 |
|---|---|---|
| committer | Andrea Corallo | 2020-12-24 15:22:32 +0100 |
| commit | 4deeb2f2eec340f8f2ef6f0d474503ea9b30ed43 (patch) | |
| tree | f65ab42039fd2242a0d28b50eac4152f1d82aaf6 /src | |
| parent | b99a4744822a11e4af098b63db18f54a4e323d58 (diff) | |
| download | emacs-4deeb2f2eec340f8f2ef6f0d474503ea9b30ed43.tar.gz emacs-4deeb2f2eec340f8f2ef6f0d474503ea9b30ed43.zip | |
Invert basic block argument order in LIMPLE cond-jump
* lisp/emacs-lisp/comp.el (comp-emit-cond-jump)
(comp-emit-switch, comp-emit-narg-prologue, comp-add-cond-cstrs):
Invert basic block argument order in LIMPLE cond-jump.
* src/comp.c (emit_limple_insn): Likewise.
Diffstat (limited to 'src')
| -rw-r--r-- | src/comp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comp.c b/src/comp.c index 166c75bea0d..ee3c15a2f67 100644 --- a/src/comp.c +++ b/src/comp.c | |||
| @@ -2038,7 +2038,7 @@ emit_limple_insn (Lisp_Object insn) | |||
| 2038 | gcc_jit_block *target1 = retrive_block (arg[2]); | 2038 | gcc_jit_block *target1 = retrive_block (arg[2]); |
| 2039 | gcc_jit_block *target2 = retrive_block (arg[3]); | 2039 | gcc_jit_block *target2 = retrive_block (arg[3]); |
| 2040 | 2040 | ||
| 2041 | emit_cond_jump (emit_EQ (a, b), target2, target1); | 2041 | emit_cond_jump (emit_EQ (a, b), target1, target2); |
| 2042 | } | 2042 | } |
| 2043 | else if (EQ (op, Qcond_jump_narg_leq)) | 2043 | else if (EQ (op, Qcond_jump_narg_leq)) |
| 2044 | { | 2044 | { |
| @@ -2060,7 +2060,7 @@ emit_limple_insn (Lisp_Object insn) | |||
| 2060 | GCC_JIT_COMPARISON_LE, | 2060 | GCC_JIT_COMPARISON_LE, |
| 2061 | gcc_jit_lvalue_as_rvalue (nargs), | 2061 | gcc_jit_lvalue_as_rvalue (nargs), |
| 2062 | n); | 2062 | n); |
| 2063 | emit_cond_jump (test, target2, target1); | 2063 | emit_cond_jump (test, target1, target2); |
| 2064 | } | 2064 | } |
| 2065 | else if (EQ (op, Qphi) || EQ (op, Qassume)) | 2065 | else if (EQ (op, Qphi) || EQ (op, Qassume)) |
| 2066 | { | 2066 | { |