From: Mike Pall Date: Sun, 2 Dec 2012 20:21:02 +0000 (+0100) Subject: ARM: Fix armhf call argument handling. X-Git-Tag: v2.0.1~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee748dd02939aad9073b4e3f2f71eb9fddca1ade;p=thirdparty%2FLuaJIT.git ARM: Fix armhf call argument handling. --- diff --git a/src/lj_asm_arm.h b/src/lj_asm_arm.h index ef907fbe..5a628b3b 100644 --- a/src/lj_asm_arm.h +++ b/src/lj_asm_arm.h @@ -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)) {