mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Merge branch 'master' into v2.1
This commit is contained in:
commit
ba9dde2ce6
@ -1859,7 +1859,8 @@ LJFOLD(ABC any any)
|
|||||||
LJFOLDF(abc_invar)
|
LJFOLDF(abc_invar)
|
||||||
{
|
{
|
||||||
/* Invariant ABC marked as PTR. Drop if op1 is invariant, too. */
|
/* Invariant ABC marked as PTR. Drop if op1 is invariant, too. */
|
||||||
if (!irt_isint(fins->t) && fins->op1 < J->chain[IR_LOOP])
|
if (!irt_isint(fins->t) && fins->op1 < J->chain[IR_LOOP] &&
|
||||||
|
!irt_isphi(IR(fins->op1)->t))
|
||||||
return DROPFOLD;
|
return DROPFOLD;
|
||||||
return NEXTFOLD;
|
return NEXTFOLD;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user