CMake: removed lib/VMCore/DebugInfoBuilder.cpp.
[oota-llvm.git] / lib / VMCore / Dominators.cpp
index ceb1df8c63883b56dae7813e0a151c7ac089fc4d..6f1de466043df8937445f2bd03d5ab537a970b7d 100644 (file)
@@ -54,11 +54,10 @@ TEMPLATE_INSTANTIATION(class DominatorTreeBase<BasicBlock>);
 
 char DominatorTree::ID = 0;
 static RegisterPass<DominatorTree>
-E("domtree", "Dominator Tree Construction", true);
+E("domtree", "Dominator Tree Construction", true, true);
 
 bool DominatorTree::runOnFunction(Function &F) {
   DT->recalculate(F);
-  
   return false;
 }
 
@@ -68,7 +67,7 @@ bool DominatorTree::runOnFunction(Function &F) {
 
 char DominanceFrontier::ID = 0;
 static RegisterPass<DominanceFrontier>
-G("domfrontier", "Dominance Frontier Construction", true);
+G("domfrontier", "Dominance Frontier Construction", true, true);
 
 // NewBB is split and now it has one successor. Update dominace frontier to
 // reflect this change.
@@ -287,3 +286,4 @@ void DominanceFrontierBase::print(std::ostream &o, const Module* ) const {
 void DominanceFrontierBase::dump() {
   print (llvm::cerr);
 }
+