aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lj_opt_mem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_opt_mem.c b/src/lj_opt_mem.c
index f4e3cd3a..a4d96fc0 100644
--- a/src/lj_opt_mem.c
+++ b/src/lj_opt_mem.c
@@ -793,6 +793,7 @@ TRef LJ_FASTCALL lj_opt_dse_xstore(jit_State *J)
793 IRRef ref = *refp; 793 IRRef ref = *refp;
794 if (J->chain[IR_CALLXS] > lim) lim = J->chain[IR_CALLXS]; 794 if (J->chain[IR_CALLXS] > lim) lim = J->chain[IR_CALLXS];
795 if (J->chain[IR_XBAR] > lim) lim = J->chain[IR_XBAR]; 795 if (J->chain[IR_XBAR] > lim) lim = J->chain[IR_XBAR];
796 if (J->chain[IR_XSNEW] > lim) lim = J->chain[IR_XSNEW];
796 while (ref > lim) { /* Search for redundant or conflicting stores. */ 797 while (ref > lim) { /* Search for redundant or conflicting stores. */
797 IRIns *store = IR(ref); 798 IRIns *store = IR(ref);
798 switch (aa_xref(J, xr, fins, store)) { 799 switch (aa_xref(J, xr, fins, store)) {