From c1328e97957ec2fdd8c27474cbd3fecb9f204a6d Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Thu, 26 Dec 2013 11:03:25 +0100 Subject: [PATCH] x86: Fix stack slot counting for IR_CALLA (affects table.new). --- src/lj_asm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) as->modset |= RSET_SCRATCH; continue; } - case IR_CALLN: case IR_CALLL: case IR_CALLS: { + case IR_CALLN: case IR_CALLA: case IR_CALLL: case IR_CALLS: { const CCallInfo *ci = &lj_ir_callinfo[ir->op2]; ir->prev = asm_setup_call_slots(as, ir, ci); if (inloop)