When checking whether the special handling for an addrec increment which
[oota-llvm.git] / lib / Analysis / PostDominators.cpp
index 69522e8a39dd68dae5defd23f08ac754d8740f91..f0f3a05db8a0e789bab6c78b65abe34ccd45f0bf 100644 (file)
@@ -33,7 +33,6 @@ F("postdomtree", "Post-Dominator Tree Construction", true, true);
 
 bool PostDominatorTree::runOnFunction(Function &F) {
   DT->recalculate(F);
-  DEBUG(DT->print(errs()));
   return false;
 }
 
@@ -41,9 +40,8 @@ PostDominatorTree::~PostDominatorTree() {
   delete DT;
 }
 
-void PostDominatorTree::print(std::ostream &OS, const Module *) const {
-  raw_os_ostream OSS(OS);
-  DT->print(OSS);
+void PostDominatorTree::print(raw_ostream &OS, const Module *) const {
+  DT->print(OS);
 }