diff options
Diffstat (limited to 'tools/analyze/analyze.cpp')
-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 7373741e21..7a8c36a0fe 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) { |