diff options
author | Mike Pall <mike> | 2010-12-31 01:00:54 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2010-12-31 01:00:54 +0100 |
commit | 65b194a2f89eb315029724af56354bb527021192 (patch) | |
tree | d932b57effed9283029f49f8ec82b3182d615cc0 /src/lj_asm.c | |
parent | dc4b82c33d04930bbc2e54673ebea41ffa3368fc (diff) | |
download | luajit-65b194a2f89eb315029724af56354bb527021192.tar.gz luajit-65b194a2f89eb315029724af56354bb527021192.tar.bz2 luajit-65b194a2f89eb315029724af56354bb527021192.zip |
Copy destination type for CONV from ir->t to op2, too.
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 eb6f00e7..9009a7d5 100644 --- a/src/lj_asm.c +++ b/src/lj_asm.c | |||
@@ -1656,7 +1656,7 @@ static void asm_toi64(ASMState *as, IRIns *ir) | |||
1656 | 1656 | ||
1657 | static void asm_conv(ASMState *as, IRIns *ir) | 1657 | static void asm_conv(ASMState *as, IRIns *ir) |
1658 | { | 1658 | { |
1659 | IRType st = (IRType)(ir->op2 & 0x1f); | 1659 | IRType st = (IRType)(ir->op2 & IRCONV_SRCMASK); |
1660 | int st64 = (st == IRT_I64 || st == IRT_U64 || (LJ_64 && st == IRT_P64)); | 1660 | int st64 = (st == IRT_I64 || st == IRT_U64 || (LJ_64 && st == IRT_P64)); |
1661 | int stfp = (st == IRT_NUM || st == IRT_FLOAT); | 1661 | int stfp = (st == IRT_NUM || st == IRT_FLOAT); |
1662 | IRRef lref = ir->op1; | 1662 | IRRef lref = ir->op1; |