aboutsummaryrefslogtreecommitdiff
path: root/src/lj_asm_mips.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lj_asm_mips.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_asm_mips.h b/src/lj_asm_mips.h
index 5070a7a2..fe7d55d3 100644
--- a/src/lj_asm_mips.h
+++ b/src/lj_asm_mips.h
@@ -328,7 +328,7 @@ static void asm_setupresult(ASMState *as, IRIns *ir, const CCallInfo *ci)
328 328
329static void asm_callx(ASMState *as, IRIns *ir) 329static void asm_callx(ASMState *as, IRIns *ir)
330{ 330{
331 IRRef args[CCI_NARGS_MAX]; 331 IRRef args[CCI_NARGS_MAX*2];
332 CCallInfo ci; 332 CCallInfo ci;
333 IRRef func; 333 IRRef func;
334 IRIns *irf; 334 IRIns *irf;
@@ -1725,7 +1725,7 @@ static void asm_tail_prep(ASMState *as)
1725/* Ensure there are enough stack slots for call arguments. */ 1725/* Ensure there are enough stack slots for call arguments. */
1726static Reg asm_setup_call_slots(ASMState *as, IRIns *ir, const CCallInfo *ci) 1726static Reg asm_setup_call_slots(ASMState *as, IRIns *ir, const CCallInfo *ci)
1727{ 1727{
1728 IRRef args[CCI_NARGS_MAX]; 1728 IRRef args[CCI_NARGS_MAX*2];
1729 uint32_t i, nargs = CCI_XNARGS(ci); 1729 uint32_t i, nargs = CCI_XNARGS(ci);
1730 int nslots = 4, ngpr = REGARG_NUMGPR, nfpr = REGARG_NUMFPR; 1730 int nslots = 4, ngpr = REGARG_NUMGPR, nfpr = REGARG_NUMFPR;
1731 asm_collectargs(as, ir, ci, args); 1731 asm_collectargs(as, ir, ci, args);