diff options
Diffstat (limited to 'src/lj_asm.c')
-rw-r--r-- | src/lj_asm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c index af8ac51b..db126d74 100644 --- a/src/lj_asm.c +++ b/src/lj_asm.c | |||
@@ -2927,7 +2927,7 @@ static void asm_comp_(ASMState *as, IRIns *ir, int cc) | |||
2927 | IROp leftop = (IROp)(IR(lref)->o); | 2927 | IROp leftop = (IROp)(IR(lref)->o); |
2928 | Reg r64 = REX_64IR(ir, 0); | 2928 | Reg r64 = REX_64IR(ir, 0); |
2929 | int32_t imm = 0; | 2929 | int32_t imm = 0; |
2930 | lua_assert(irt_isint(ir->t) || irt_isaddr(ir->t)); | 2930 | lua_assert(irt_is64(ir->t) || irt_isint(ir->t) || irt_isaddr(ir->t)); |
2931 | /* Swap constants (only for ABC) and fusable loads to the right. */ | 2931 | /* Swap constants (only for ABC) and fusable loads to the right. */ |
2932 | if (irref_isk(lref) || (!irref_isk(rref) && opisfusableload(leftop))) { | 2932 | if (irref_isk(lref) || (!irref_isk(rref) && opisfusableload(leftop))) { |
2933 | if ((cc & 0xc) == 0xc) cc ^= 3; /* L <-> G, LE <-> GE */ | 2933 | if ((cc & 0xc) == 0xc) cc ^= 3; /* L <-> G, LE <-> GE */ |