diff options
Diffstat (limited to 'src/lj_asm_arm.h')
-rw-r--r-- | src/lj_asm_arm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm_arm.h b/src/lj_asm_arm.h index 786dd831..1963f3ba 100644 --- a/src/lj_asm_arm.h +++ b/src/lj_asm_arm.h | |||
@@ -1739,7 +1739,7 @@ static Reg asm_setup_call_slots(ASMState *as, IRIns *ir, const CCallInfo *ci) | |||
1739 | int nslots = 0, ngpr = REGARG_NUMGPR; | 1739 | int nslots = 0, ngpr = REGARG_NUMGPR; |
1740 | asm_collectargs(as, ir, ci, args); | 1740 | asm_collectargs(as, ir, ci, args); |
1741 | for (i = 0; i < nargs; i++) | 1741 | for (i = 0; i < nargs; i++) |
1742 | if (!LJ_SOFTFP && irt_isfp(IR(args[i])->t)) { | 1742 | if (!LJ_SOFTFP && args[i] && irt_isnum(IR(args[i])->t)) { |
1743 | ngpr &= ~1; | 1743 | ngpr &= ~1; |
1744 | if (ngpr > 0) ngpr -= 2; else nslots += 2; | 1744 | if (ngpr > 0) ngpr -= 2; else nslots += 2; |
1745 | } else { | 1745 | } else { |