mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
FFI: Fix code generation for replay of sunk float fields.
This commit is contained in:
parent
4e7fe815ed
commit
b0dde5b2b1
@ -1391,7 +1391,7 @@ static void asm_head_side(ASMState *as)
|
|||||||
ra_sethint(ir->r, rs); /* Hint may be gone, set it again. */
|
ra_sethint(ir->r, rs); /* Hint may be gone, set it again. */
|
||||||
else if (sps_scale(regsp_spill(rs))+spdelta == sps_scale(ir->s))
|
else if (sps_scale(regsp_spill(rs))+spdelta == sps_scale(ir->s))
|
||||||
continue; /* Same spill slot, do nothing. */
|
continue; /* Same spill slot, do nothing. */
|
||||||
mask = ((!LJ_SOFTFP && irt_isnum(ir->t)) ? RSET_FPR : RSET_GPR) & allow;
|
mask = ((!LJ_SOFTFP && irt_isfp(ir->t)) ? RSET_FPR : RSET_GPR) & allow;
|
||||||
if (mask == RSET_EMPTY)
|
if (mask == RSET_EMPTY)
|
||||||
lj_trace_err(as->J, LJ_TRERR_NYICOAL);
|
lj_trace_err(as->J, LJ_TRERR_NYICOAL);
|
||||||
r = ra_allocref(as, i, mask);
|
r = ra_allocref(as, i, mask);
|
||||||
|
Loading…
Reference in New Issue
Block a user