diff options
author | Mike Pall <mike> | 2014-07-24 13:08:02 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2014-07-24 13:08:02 +0200 |
commit | 59d290656a31f66d490e79c3a2d669a036194a75 (patch) | |
tree | c8006b84f7503c04bc14e2aa0408f14df3e06db1 | |
parent | f948fe0c2797bb75ed2147ef86795b082712c96b (diff) | |
download | luajit-59d290656a31f66d490e79c3a2d669a036194a75.tar.gz luajit-59d290656a31f66d490e79c3a2d669a036194a75.tar.bz2 luajit-59d290656a31f66d490e79c3a2d669a036194a75.zip |
Invalidate backpropagation cache after DCE.
-rw-r--r-- | src/lj_opt_dce.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) | |||
69 | if ((J->flags & JIT_F_OPT_DCE)) { | 69 | if ((J->flags & JIT_F_OPT_DCE)) { |
70 | dce_marksnap(J); | 70 | dce_marksnap(J); |
71 | dce_propagate(J); | 71 | dce_propagate(J); |
72 | memset(J->bpropcache, 0, sizeof(J->bpropcache)); /* Invalidate cache. */ | ||
72 | } | 73 | } |
73 | } | 74 | } |
74 | 75 | ||