diff options
Diffstat (limited to '')
-rw-r--r-- | src/lj_asm_mips.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_asm_mips.h b/src/lj_asm_mips.h index 122e5ecd..5070a7a2 100644 --- a/src/lj_asm_mips.h +++ b/src/lj_asm_mips.h | |||
@@ -226,7 +226,7 @@ static void asm_fusexref(ASMState *as, MIPSIns mi, Reg rt, IRRef ref, | |||
226 | /* Generate a call to a C function. */ | 226 | /* Generate a call to a C function. */ |
227 | static void asm_gencall(ASMState *as, const CCallInfo *ci, IRRef *args) | 227 | static void asm_gencall(ASMState *as, const CCallInfo *ci, IRRef *args) |
228 | { | 228 | { |
229 | uint32_t n, nargs = CCI_NARGS(ci); | 229 | uint32_t n, nargs = CCI_XNARGS(ci); |
230 | int32_t ofs = 16; | 230 | int32_t ofs = 16; |
231 | Reg gpr, fpr = REGARG_FIRSTFPR; | 231 | Reg gpr, fpr = REGARG_FIRSTFPR; |
232 | if ((void *)ci->func) | 232 | if ((void *)ci->func) |
@@ -1726,7 +1726,7 @@ static void asm_tail_prep(ASMState *as) | |||
1726 | static Reg asm_setup_call_slots(ASMState *as, IRIns *ir, const CCallInfo *ci) | 1726 | static 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]; |
1729 | uint32_t i, nargs = (int)CCI_NARGS(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); |
1732 | for (i = 0; i < nargs; i++) { | 1732 | for (i = 0; i < nargs; i++) { |