]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
ARM/FFI: Invoke SPLIT pass for double args in FFI call.
authorMike Pall <mike>
Thu, 26 Apr 2012 21:35:34 +0000 (23:35 +0200)
committerMike Pall <mike>
Thu, 26 Apr 2012 21:46:23 +0000 (23:46 +0200)
src/lj_crecord.c

index a8342015d885fe30c51b1a7d4200f9ca4e247423..1b65c11078f1e37d8a68987b1af53aa7ee357631 100644 (file)
@@ -802,6 +802,8 @@ static TRef crec_call_args(jit_State *J, RecordFFData *rd,
        else
          tr = emitconv(tr, IRT_INT, d->size==1 ? IRT_I8 : IRT_I16,IRCONV_SEXT);
       }
+    } else if (LJ_SOFTFP && ctype_isfp(d->info) && d->size > 4) {
+      lj_needsplit(J);
     }
 #if LJ_TARGET_X86
     /* 64 bit args must not end up in registers for fastcall/thiscall. */