summaryrefslogtreecommitdiff
path: root/src/lj_asm_arm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_asm_arm.h')
-rw-r--r--src/lj_asm_arm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm_arm.h b/src/lj_asm_arm.h
index 9ef785c3..6a44e5ef 100644
--- a/src/lj_asm_arm.h
+++ b/src/lj_asm_arm.h
@@ -1287,7 +1287,7 @@ static void asm_intcomp(ASMState *as, IRIns *ir)
1287 Reg left; 1287 Reg left;
1288 uint32_t m; 1288 uint32_t m;
1289 int cmpprev0 = 0; 1289 int cmpprev0 = 0;
1290 lua_assert(irt_isint(ir->t) || irt_isaddr(ir->t)); 1290 lua_assert(irt_isint(ir->t) || irt_isu32(ir->t) || irt_isaddr(ir->t));
1291 if (asm_swapops(as, lref, rref)) { 1291 if (asm_swapops(as, lref, rref)) {
1292 Reg tmp = lref; lref = rref; rref = tmp; 1292 Reg tmp = lref; lref = rref; rref = tmp;
1293 if (cc >= CC_GE) cc ^= 7; /* LT <-> GT, LE <-> GE */ 1293 if (cc >= CC_GE) cc ^= 7; /* LT <-> GT, LE <-> GE */