Replace size method call of containers to empty method where appropriate
[oota-llvm.git] / lib / CodeGen / MachineDominators.cpp
index 04c8ecbf9bdc1e1e236faef8c456d50a1517fa9e..df60cf34b610eb471fc31c8dea50b761612874f1 100644 (file)
@@ -35,6 +35,8 @@ void MachineDominatorTree::getAnalysisUsage(AnalysisUsage &AU) const {
 }
 
 bool MachineDominatorTree::runOnMachineFunction(MachineFunction &F) {
+  CriticalEdgesToSplit.clear();
+  NewBBs.clear();
   DT->recalculate(F);
 
   return false;