summaryrefslogtreecommitdiff
path: root/src/lj_asm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_asm.c')
-rw-r--r--src/lj_asm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c
index c749ada0..9e8f1fc0 100644
--- a/src/lj_asm.c
+++ b/src/lj_asm.c
@@ -2571,7 +2571,7 @@ static void asm_comp_(ASMState *as, IRIns *ir, int cc)
2571 } else { 2571 } else {
2572 IRRef lref = ir->op1, rref = ir->op2; 2572 IRRef lref = ir->op1, rref = ir->op2;
2573 IROp leftop = (IROp)(IR(lref)->o); 2573 IROp leftop = (IROp)(IR(lref)->o);
2574 lua_assert(irt_isint(ir->t) || (irt_isaddr(ir->t) && (cc & 0xe) == CC_E)); 2574 lua_assert(irt_isint(ir->t) || irt_isaddr(ir->t));
2575 /* Swap constants (only for ABC) and fusable loads to the right. */ 2575 /* Swap constants (only for ABC) and fusable loads to the right. */
2576 if (irref_isk(lref) || (!irref_isk(rref) && opisfusableload(leftop))) { 2576 if (irref_isk(lref) || (!irref_isk(rref) && opisfusableload(leftop))) {
2577 if ((cc & 0xc) == 0xc) cc ^= 3; /* L <-> G, LE <-> GE */ 2577 if ((cc & 0xc) == 0xc) cc ^= 3; /* L <-> G, LE <-> GE */