diff options
-rw-r--r-- | src/lj_opt_mem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_opt_mem.c b/src/lj_opt_mem.c index 2b6fc884..e04a6228 100644 --- a/src/lj_opt_mem.c +++ b/src/lj_opt_mem.c | |||
@@ -808,6 +808,7 @@ TRef LJ_FASTCALL lj_opt_dse_xstore(jit_State *J) | |||
808 | IRRef ref = *refp; | 808 | IRRef ref = *refp; |
809 | if (J->chain[IR_CALLXS] > lim) lim = J->chain[IR_CALLXS]; | 809 | if (J->chain[IR_CALLXS] > lim) lim = J->chain[IR_CALLXS]; |
810 | if (J->chain[IR_XBAR] > lim) lim = J->chain[IR_XBAR]; | 810 | if (J->chain[IR_XBAR] > lim) lim = J->chain[IR_XBAR]; |
811 | if (J->chain[IR_XSNEW] > lim) lim = J->chain[IR_XSNEW]; | ||
811 | while (ref > lim) { /* Search for redundant or conflicting stores. */ | 812 | while (ref > lim) { /* Search for redundant or conflicting stores. */ |
812 | IRIns *store = IR(ref); | 813 | IRIns *store = IR(ref); |
813 | switch (aa_xref(J, xr, fins, store)) { | 814 | switch (aa_xref(J, xr, fins, store)) { |