diff --git a/src/lj_opt_dce.c b/src/lj_opt_dce.c index be801894..fdfe9343 100644 --- a/src/lj_opt_dce.c +++ b/src/lj_opt_dce.c @@ -69,6 +69,7 @@ void lj_opt_dce(jit_State *J) if ((J->flags & JIT_F_OPT_DCE)) { dce_marksnap(J); dce_propagate(J); + memset(J->bpropcache, 0, sizeof(J->bpropcache)); /* Invalidate cache. */ } }