aboutsummaryrefslogtreecommitdiff
path: root/src/lj_asm_arm.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lj_asm_arm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_asm_arm.h b/src/lj_asm_arm.h
index 039a2a9a..1e024dcd 100644
--- a/src/lj_asm_arm.h
+++ b/src/lj_asm_arm.h
@@ -338,7 +338,7 @@ static int asm_fusemadd(ASMState *as, IRIns *ir, ARMIns ai, ARMIns air)
338/* Generate a call to a C function. */ 338/* Generate a call to a C function. */
339static void asm_gencall(ASMState *as, const CCallInfo *ci, IRRef *args) 339static void asm_gencall(ASMState *as, const CCallInfo *ci, IRRef *args)
340{ 340{
341 uint32_t n, nargs = CCI_NARGS(ci); 341 uint32_t n, nargs = CCI_XNARGS(ci);
342 int32_t ofs = 0; 342 int32_t ofs = 0;
343#if LJ_SOFTFP 343#if LJ_SOFTFP
344 Reg gpr = REGARG_FIRSTGPR; 344 Reg gpr = REGARG_FIRSTGPR;
@@ -2133,7 +2133,7 @@ static void asm_tail_prep(ASMState *as)
2133static Reg asm_setup_call_slots(ASMState *as, IRIns *ir, const CCallInfo *ci) 2133static Reg asm_setup_call_slots(ASMState *as, IRIns *ir, const CCallInfo *ci)
2134{ 2134{
2135 IRRef args[CCI_NARGS_MAX]; 2135 IRRef args[CCI_NARGS_MAX];
2136 uint32_t i, nargs = (int)CCI_NARGS(ci); 2136 uint32_t i, nargs = CCI_XNARGS(ci);
2137 int nslots = 0, ngpr = REGARG_NUMGPR, nfpr = REGARG_NUMFPR, fprodd = 0; 2137 int nslots = 0, ngpr = REGARG_NUMGPR, nfpr = REGARG_NUMFPR, fprodd = 0;
2138 asm_collectargs(as, ir, ci, args); 2138 asm_collectargs(as, ir, ci, args);
2139 for (i = 0; i < nargs; i++) { 2139 for (i = 0; i < nargs; i++) {