diff options
author | Mike Pall <mike> | 2012-08-26 14:36:00 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2012-08-26 14:36:00 +0200 |
commit | cf3a2630443e3522d68c62a184df11ad1914ec44 (patch) | |
tree | 1038e6957457ba0d219902a836c3e3d7e1dac075 /src/lj_asm.c | |
parent | dad66450981325405c50fe75955e1d0bd3ffb423 (diff) | |
download | luajit-cf3a2630443e3522d68c62a184df11ad1914ec44.tar.gz luajit-cf3a2630443e3522d68c62a184df11ad1914ec44.tar.bz2 luajit-cf3a2630443e3522d68c62a184df11ad1914ec44.zip |
Fix compilation with FFI disabled.
Diffstat (limited to 'src/lj_asm.c')
-rw-r--r-- | src/lj_asm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c index 8deddd65..bdc86dd0 100644 --- a/src/lj_asm.c +++ b/src/lj_asm.c | |||
@@ -808,9 +808,9 @@ static void asm_snap_alloc1(ASMState *as, IRRef ref) | |||
808 | asm_snap_alloc1(as, ir->op2); | 808 | asm_snap_alloc1(as, ir->op2); |
809 | if (LJ_32 && (ir+1)->o == IR_HIOP) | 809 | if (LJ_32 && (ir+1)->o == IR_HIOP) |
810 | asm_snap_alloc1(as, (ir+1)->op2); | 810 | asm_snap_alloc1(as, (ir+1)->op2); |
811 | } | 811 | } else |
812 | #endif | 812 | #endif |
813 | else { /* Allocate stored values for TNEW, TDUP and CNEW. */ | 813 | { /* Allocate stored values for TNEW, TDUP and CNEW. */ |
814 | IRIns *irs; | 814 | IRIns *irs; |
815 | lua_assert(ir->o == IR_TNEW || ir->o == IR_TDUP || ir->o == IR_CNEW); | 815 | lua_assert(ir->o == IR_TNEW || ir->o == IR_TDUP || ir->o == IR_CNEW); |
816 | for (irs = IR(as->snapref-1); irs > ir; irs--) | 816 | for (irs = IR(as->snapref-1); irs > ir; irs--) |