diff options
author | Chris Lattner <sabre@nondot.org> | 2002-07-26 18:40:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-07-26 18:40:14 +0000 |
commit | ce6ef112c4abb1f7fd64738c5760f48cddc9a4a5 (patch) | |
tree | d20df3512eb0212eaff8ebb8b0c077209944b242 /tools/analyze | |
parent | 0cbc6c2fd8470c62d824667fc600d80a494d26cd (diff) | |
download | external_llvm-ce6ef112c4abb1f7fd64738c5760f48cddc9a4a5.zip external_llvm-ce6ef112c4abb1f7fd64738c5760f48cddc9a4a5.tar.gz external_llvm-ce6ef112c4abb1f7fd64738c5760f48cddc9a4a5.tar.bz2 |
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3105 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/analyze')
-rw-r--r-- | tools/analyze/analyze.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/tools/analyze/analyze.cpp b/tools/analyze/analyze.cpp index 7373741..7a8c36a 100644 --- a/tools/analyze/analyze.cpp +++ b/tools/analyze/analyze.cpp @@ -116,10 +116,6 @@ public: -template <class PassType, class PassName, AnalysisID &ID> -Pass *New() { - return new PassPrinter<PassType, PassName>(ID); -} template <class PassType, class PassName> Pass *New() { return new PassPrinter<PassType, PassName>(PassName::ID); @@ -295,10 +291,10 @@ struct { { domtree , New<FunctionPass, DominatorTree> }, { domfrontier , New<FunctionPass, DominanceFrontier> }, - { postdomset , New<FunctionPass, DominatorSet, DominatorSet::PostDomID> }, - { postidom , New<FunctionPass, ImmediateDominators, ImmediateDominators::PostDomID> }, - { postdomtree , New<FunctionPass, DominatorTree, DominatorTree::PostDomID> }, - { postdomfrontier , New<FunctionPass, DominanceFrontier, DominanceFrontier::PostDomID> }, + { postdomset , New<FunctionPass, PostDominatorSet> }, + { postidom , New<FunctionPass, ImmediatePostDominators> }, + { postdomtree , New<FunctionPass, PostDominatorTree> }, + { postdomfrontier , New<FunctionPass, PostDominanceFrontier> }, }; int main(int argc, char **argv) { |