- Do not expose ::ID from any of the analyses anymore.
authorChris Lattner <sabre@nondot.org>
Wed, 21 Aug 2002 17:09:15 +0000 (17:09 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 21 Aug 2002 17:09:15 +0000 (17:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3415 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Dominators.cpp

index f5010c301cd06cb83a71ecc85442780db17b2ab0..e4bcec09f1f60b2b2ec1cf49f86e14366103a249 100644 (file)
@@ -20,7 +20,6 @@ using std::set;
 
 static RegisterAnalysis<DominatorSet>
 A("domset", "Dominator Set Construction", true);
-AnalysisID DominatorSet::ID = A;
 
 // dominates - Return true if A dominates B.  This performs the special checks
 // neccesary if A and B are in the same basic block.
@@ -117,7 +116,6 @@ void DominatorSetBase::print(std::ostream &o) const {
 
 static RegisterAnalysis<ImmediateDominators>
 C("idom", "Immediate Dominators Construction", true);
-AnalysisID ImmediateDominators::ID = C;
 
 // calcIDoms - Calculate the immediate dominator mapping, given a set of
 // dominators for every basic block.
@@ -169,7 +167,6 @@ void ImmediateDominatorsBase::print(std::ostream &o) const {
 
 static RegisterAnalysis<DominatorTree>
 E("domtree", "Dominator Tree Construction", true);
-AnalysisID DominatorTree::ID = E;
 
 // DominatorTreeBase::reset - Free all of the tree node memory.
 //
@@ -254,7 +251,6 @@ void DominatorTreeBase::print(std::ostream &o) const {
 
 static RegisterAnalysis<DominanceFrontier>
 G("domfrontier", "Dominance Frontier Construction", true);
-AnalysisID DominanceFrontier::ID = G;
 
 const DominanceFrontier::DomSetType &
 DominanceFrontier::calculate(const DominatorTree &DT,