diff options
author | Mike Pall <mike> | 2012-11-14 21:54:17 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2012-11-14 21:54:17 +0100 |
commit | 32fa68d3e88426d0230c753820ef79bc139b309e (patch) | |
tree | 943796ed368a9e7c2da9084d6ef7b02fd8c9c5f1 | |
parent | caed566e2b122820238bc11b3bb6bc1077d57c90 (diff) | |
download | luajit-32fa68d3e88426d0230c753820ef79bc139b309e.tar.gz luajit-32fa68d3e88426d0230c753820ef79bc139b309e.tar.bz2 luajit-32fa68d3e88426d0230c753820ef79bc139b309e.zip |
Fix assertion.
-rw-r--r-- | src/lj_asm_x86.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm_x86.h b/src/lj_asm_x86.h index 1222284d..241da5a1 100644 --- a/src/lj_asm_x86.h +++ b/src/lj_asm_x86.h | |||
@@ -2084,7 +2084,7 @@ static void asm_comp(ASMState *as, IRIns *ir, uint32_t cc) | |||
2084 | Reg r64 = REX_64IR(ir, 0); | 2084 | Reg r64 = REX_64IR(ir, 0); |
2085 | int32_t imm = 0; | 2085 | int32_t imm = 0; |
2086 | lua_assert(irt_is64(ir->t) || irt_isint(ir->t) || | 2086 | lua_assert(irt_is64(ir->t) || irt_isint(ir->t) || |
2087 | irt_isu32(ir->t) || irt_isaddr(ir->t)); | 2087 | irt_isu32(ir->t) || irt_isaddr(ir->t) || irt_isu8(ir->t)); |
2088 | /* Swap constants (only for ABC) and fusable loads to the right. */ | 2088 | /* Swap constants (only for ABC) and fusable loads to the right. */ |
2089 | if (irref_isk(lref) || (!irref_isk(rref) && opisfusableload(leftop))) { | 2089 | if (irref_isk(lref) || (!irref_isk(rref) && opisfusableload(leftop))) { |
2090 | if ((cc & 0xc) == 0xc) cc ^= 0x53; /* L <-> G, LE <-> GE */ | 2090 | if ((cc & 0xc) == 0xc) cc ^= 0x53; /* L <-> G, LE <-> GE */ |