mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
x86: Fix stack slot counting for IR_CALLA (affects table.new).
This commit is contained in:
parent
c41e65499c
commit
c1328e9795
@ -2017,7 +2017,7 @@ static void asm_setup_regsp(ASMState *as)
|
|||||||
as->modset |= RSET_SCRATCH;
|
as->modset |= RSET_SCRATCH;
|
||||||
continue;
|
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];
|
const CCallInfo *ci = &lj_ir_callinfo[ir->op2];
|
||||||
ir->prev = asm_setup_call_slots(as, ir, ci);
|
ir->prev = asm_setup_call_slots(as, ir, ci);
|
||||||
if (inloop)
|
if (inloop)
|
||||||
|
Loading…
Reference in New Issue
Block a user