mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-04-20 05:53:26 +00:00
Merge branch 'master' into v2.1
This commit is contained in:
commit
063f3d5d7c
@ -808,6 +808,7 @@ TRef LJ_FASTCALL lj_opt_dse_xstore(jit_State *J)
|
|||||||
IRRef ref = *refp;
|
IRRef ref = *refp;
|
||||||
if (J->chain[IR_CALLXS] > lim) lim = J->chain[IR_CALLXS];
|
if (J->chain[IR_CALLXS] > lim) lim = J->chain[IR_CALLXS];
|
||||||
if (J->chain[IR_XBAR] > lim) lim = J->chain[IR_XBAR];
|
if (J->chain[IR_XBAR] > lim) lim = J->chain[IR_XBAR];
|
||||||
|
if (J->chain[IR_XSNEW] > lim) lim = J->chain[IR_XSNEW];
|
||||||
while (ref > lim) { /* Search for redundant or conflicting stores. */
|
while (ref > lim) { /* Search for redundant or conflicting stores. */
|
||||||
IRIns *store = IR(ref);
|
IRIns *store = IR(ref);
|
||||||
switch (aa_xref(J, xr, fins, store)) {
|
switch (aa_xref(J, xr, fins, store)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user