File tree Expand file tree Collapse file tree 3 files changed +5
-41
lines changed Expand file tree Collapse file tree 3 files changed +5
-41
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,9 @@ BackwardPass::DoMarkTempObjectVerify() const
107
107
bool
108
108
BackwardPass::DoDeadStore (Func* func)
109
109
{
110
- return !PHASE_OFF (Js::DeadStorePhase, func);
110
+ return
111
+ !PHASE_OFF (Js::DeadStorePhase, func) &&
112
+ (!func->HasTry () || func->DoOptimizeTry ());
111
113
}
112
114
113
115
bool
122
124
BackwardPass::DoDeadStoreSlots () const
123
125
{
124
126
// only dead store fields if glob opt is on to generate the trackable fields bitvector
125
- return (tag == Js::DeadStorePhase && this ->func ->DoGlobOpt ());
127
+ return (tag == Js::DeadStorePhase && this ->func ->DoGlobOpt ()
128
+ && (!this ->func ->HasTry ()));
126
129
}
127
130
128
131
// Whether dead store is enabled for given func and sym.
Original file line number Diff line number Diff line change 204
204
<files >tfjitloopbug.js</files >
205
205
</default >
206
206
</test >
207
- <test >
208
- <default >
209
- <files >tcdeadstorebug.js</files >
210
- <compile-flags > -maxinterpretcount:1 -maxsimplejitruncount:1 -MinMemOpCount:0 -werexceptionsupport -bgjit- -loopinterpretcount:1</compile-flags >
211
- <tags >exclude_dynapogo</tags >
212
- </default >
213
- </test >
214
207
</regress-exe >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments