Update a comment to reflect changes in the surrounding code.
[oota-llvm.git] / include / llvm / Analysis / PostDominators.h
index 51b3e807d8b41937000ade48aa7339978da77b37..cd6af74024a547adabce9e2ccbad3e6f183abddb 100644 (file)
@@ -25,7 +25,7 @@ struct PostDominatorTree : public FunctionPass {
   static char ID; // Pass identification, replacement for typeid
   DominatorTreeBase<BasicBlock>* DT;
 
-  PostDominatorTree() : FunctionPass((intptr_t)&ID) {
+  PostDominatorTree() : FunctionPass(&ID) {
     DT = new DominatorTreeBase<BasicBlock>(true);
   }
 
@@ -62,6 +62,7 @@ struct PostDominatorTree : public FunctionPass {
   }
 };
 
+FunctionPass* createPostDomTree();
 
 /// PostDominanceFrontier Class - Concrete subclass of DominanceFrontier that is
 /// used to compute the a post-dominance frontier.
@@ -69,7 +70,7 @@ struct PostDominatorTree : public FunctionPass {
 struct PostDominanceFrontier : public DominanceFrontierBase {
   static char ID;
   PostDominanceFrontier() 
-    : DominanceFrontierBase((intptr_t) &ID, true) {}
+    : DominanceFrontierBase(&ID, true) {}
 
   virtual bool runOnFunction(Function &) {
     Frontiers.clear();
@@ -90,6 +91,8 @@ private:
                               const DomTreeNode *Node);
 };
 
+FunctionPass* createPostDomFrontier();
+
 } // End llvm namespace
 
 #endif