80 column fixes.
[oota-llvm.git] / lib / Analysis / PostDominators.cpp
index 4330e9039d1a732daa3200534e38872d6a94cb79..4853c2ac87b7998cabca44b0305eead84dc5991a 100644 (file)
@@ -37,6 +37,15 @@ bool PostDominatorTree::runOnFunction(Function &F) {
   return false;
 }
 
+PostDominatorTree::~PostDominatorTree()
+{
+  delete DT;
+}
+
+FunctionPass* llvm::createPostDomTree() {
+  return new PostDominatorTree();
+}
+
 //===----------------------------------------------------------------------===//
 //  PostDominanceFrontier Implementation
 //===----------------------------------------------------------------------===//
@@ -80,5 +89,6 @@ PostDominanceFrontier::calculate(const PostDominatorTree &DT,
   return S;
 }
 
-// Ensure that this .cpp file gets linked when PostDominators.h is used.
-DEFINING_FILE_FOR(PostDominanceFrontier)
+FunctionPass* llvm::createPostDomFrontier() {
+  return new PostDominanceFrontier();
+}