aboutsummaryrefslogtreecommitdiff
path: root/src/lj_asm_x86.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lj_asm_x86.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_asm_x86.h b/src/lj_asm_x86.h
index 3a029970..25da5246 100644
--- a/src/lj_asm_x86.h
+++ b/src/lj_asm_x86.h
@@ -600,7 +600,7 @@ static void *asm_callx_func(ASMState *as, IRIns *irf, IRRef func)
600 600
601static void asm_callx(ASMState *as, IRIns *ir) 601static void asm_callx(ASMState *as, IRIns *ir)
602{ 602{
603 IRRef args[CCI_NARGS_MAX]; 603 IRRef args[CCI_NARGS_MAX*2];
604 CCallInfo ci; 604 CCallInfo ci;
605 IRRef func; 605 IRRef func;
606 IRIns *irf; 606 IRIns *irf;
@@ -2593,7 +2593,7 @@ static void asm_tail_prep(ASMState *as)
2593/* Ensure there are enough stack slots for call arguments. */ 2593/* Ensure there are enough stack slots for call arguments. */
2594static Reg asm_setup_call_slots(ASMState *as, IRIns *ir, const CCallInfo *ci) 2594static Reg asm_setup_call_slots(ASMState *as, IRIns *ir, const CCallInfo *ci)
2595{ 2595{
2596 IRRef args[CCI_NARGS_MAX]; 2596 IRRef args[CCI_NARGS_MAX*2];
2597 int nslots; 2597 int nslots;
2598 asm_collectargs(as, ir, ci, args); 2598 asm_collectargs(as, ir, ci, args);
2599 nslots = asm_count_call_slots(as, ci, args); 2599 nslots = asm_count_call_slots(as, ci, args);