use the new isFreeCall API and ArgOperand accessors
[oota-llvm.git] / lib / Analysis / PostDominators.cpp
index 4853c2ac87b7998cabca44b0305eead84dc5991a..f0f3a05db8a0e789bab6c78b65abe34ccd45f0bf 100644 (file)
@@ -33,15 +33,18 @@ F("postdomtree", "Post-Dominator Tree Construction", true, true);
 
 bool PostDominatorTree::runOnFunction(Function &F) {
   DT->recalculate(F);
-  DEBUG(DT->dump());
   return false;
 }
 
-PostDominatorTree::~PostDominatorTree()
-{
+PostDominatorTree::~PostDominatorTree() {
   delete DT;
 }
 
+void PostDominatorTree::print(raw_ostream &OS, const Module *) const {
+  DT->print(OS);
+}
+
+
 FunctionPass* llvm::createPostDomTree() {
   return new PostDominatorTree();
 }