aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Pall <mike>2013-12-26 11:03:25 +0100
committerMike Pall <mike>2013-12-26 11:03:25 +0100
commitc1328e97957ec2fdd8c27474cbd3fecb9f204a6d (patch)
treebf38c763211470de6cd032840666ce8661fac166 /src
parentc41e65499cb66bb171f4f9c21ea4f5be3ee8aaaa (diff)
downloadluajit-c1328e97957ec2fdd8c27474cbd3fecb9f204a6d.tar.gz
luajit-c1328e97957ec2fdd8c27474cbd3fecb9f204a6d.tar.bz2
luajit-c1328e97957ec2fdd8c27474cbd3fecb9f204a6d.zip
x86: Fix stack slot counting for IR_CALLA (affects table.new).
Diffstat (limited to 'src')
-rw-r--r--src/lj_asm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c
index fb364c74..7ebc73b1 100644
--- a/src/lj_asm.c
+++ b/src/lj_asm.c
@@ -2017,7 +2017,7 @@ static void asm_setup_regsp(ASMState *as)
2017 as->modset |= RSET_SCRATCH; 2017 as->modset |= RSET_SCRATCH;
2018 continue; 2018 continue;
2019 } 2019 }
2020 case IR_CALLN: case IR_CALLL: case IR_CALLS: { 2020 case IR_CALLN: case IR_CALLA: case IR_CALLL: case IR_CALLS: {
2021 const CCallInfo *ci = &lj_ir_callinfo[ir->op2]; 2021 const CCallInfo *ci = &lj_ir_callinfo[ir->op2];
2022 ir->prev = asm_setup_call_slots(as, ir, ci); 2022 ir->prev = asm_setup_call_slots(as, ir, ci);
2023 if (inloop) 2023 if (inloop)