diff --git a/js/src/jit/IonAnalysis.cpp b/js/src/jit/IonAnalysis.cpp index 1158f6e8ca23..da83bd5caaee 100644 --- a/js/src/jit/IonAnalysis.cpp +++ b/js/src/jit/IonAnalysis.cpp @@ -3374,8 +3374,6 @@ bool jit::EliminateRedundantChecks(MIRGraph& graph) { } } - MDefinitionVector eliminateList(graph.alloc()); - // Starting from each self-dominating block, traverse the CFG in pre-order. while (!worklist.empty()) { MBasicBlock* block = worklist.popCopy(); @@ -3408,11 +3406,6 @@ bool jit::EliminateRedundantChecks(MIRGraph& graph) { MOZ_ASSERT(index == graph.numBlocks()); - for (size_t i = 0; i < eliminateList.length(); i++) { - MDefinition* def = eliminateList[i]; - def->block()->discardDef(def); - } - return true; }