mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
ARM/FFI: Invoke SPLIT pass for double args in FFI call.
This commit is contained in:
parent
325a1820eb
commit
d4a09431c8
@ -802,6 +802,8 @@ static TRef crec_call_args(jit_State *J, RecordFFData *rd,
|
|||||||
else
|
else
|
||||||
tr = emitconv(tr, IRT_INT, d->size==1 ? IRT_I8 : IRT_I16,IRCONV_SEXT);
|
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
|
#if LJ_TARGET_X86
|
||||||
/* 64 bit args must not end up in registers for fastcall/thiscall. */
|
/* 64 bit args must not end up in registers for fastcall/thiscall. */
|
||||||
|
Loading…
Reference in New Issue
Block a user