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 /src/lj_asm_x86.h | |
parent | caed566e2b122820238bc11b3bb6bc1077d57c90 (diff) | |
download | luajit2-32fa68d3e88426d0230c753820ef79bc139b309e.tar.gz |
Fix assertion.
Diffstat (limited to 'src/lj_asm_x86.h')
-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) Reg r64 = REX_64IR(ir, 0); int32_t imm = 0; lua_assert(irt_is64(ir->t) || irt_isint(ir->t) || - irt_isu32(ir->t) || irt_isaddr(ir->t)); + irt_isu32(ir->t) || irt_isaddr(ir->t) || irt_isu8(ir->t)); /* Swap constants (only for ABC) and fusable loads to the right. */ if (irref_isk(lref) || (!irref_isk(rref) && opisfusableload(leftop))) { if ((cc & 0xc) == 0xc) cc ^= 0x53; /* L <-> G, LE <-> GE */ |