diff options
author | Mike Pall <mike> | 2013-12-26 11:03:25 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2013-12-26 11:03:25 +0100 |
commit | c1328e97957ec2fdd8c27474cbd3fecb9f204a6d (patch) | |
tree | bf38c763211470de6cd032840666ce8661fac166 /src | |
parent | c41e65499cb66bb171f4f9c21ea4f5be3ee8aaaa (diff) | |
download | luajit-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.c | 2 |
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) |