mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-04-19 21:43:27 +00:00
Fix code generation for PHIs with type IRT_FLOAT.
This commit is contained in:
parent
5b7a8baea4
commit
48438b9e13
@ -3602,7 +3602,7 @@ static void asm_phi_fixup(ASMState *as)
|
||||
/* Setup right PHI reference. */
|
||||
static void asm_phi(ASMState *as, IRIns *ir)
|
||||
{
|
||||
RegSet allow = (irt_isnum(ir->t) ? RSET_FPR : RSET_GPR) & ~as->phiset;
|
||||
RegSet allow = (irt_isfp(ir->t) ? RSET_FPR : RSET_GPR) & ~as->phiset;
|
||||
RegSet afree = (as->freeset & allow);
|
||||
IRIns *irl = IR(ir->op1);
|
||||
IRIns *irr = IR(ir->op2);
|
||||
|
Loading…
Reference in New Issue
Block a user