ARM: Fix armhf call argument handling.

This commit is contained in:
Mike Pall 2012-12-02 21:21:02 +01:00
parent 405020c405
commit ee748dd029

View File

@ -355,7 +355,7 @@ static void asm_gencall(ASMState *as, const CCallInfo *ci, IRRef *args)
IRRef ref = args[n];
IRIns *ir = IR(ref);
#if !LJ_SOFTFP
if (irt_isfp(ir->t)) {
if (ref && irt_isfp(ir->t)) {
RegSet of = as->freeset;
Reg src;
if (!LJ_ABI_SOFTFP && !(ci->flags & CCI_VARARG)) {