diff options
author | Chris Lattner <sabre@nondot.org> | 2006-08-27 22:30:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-08-27 22:30:17 +0000 |
commit | 5d8925c7c506a54ebdfb0bc93437ec9f602eaaa0 (patch) | |
tree | dea599a5388d6da5b94fec761128353f08be2dc3 /tools/opt/AnalysisWrappers.cpp | |
parent | 2dd3d423aae84649c434b2a58ba4ed7e918580d8 (diff) |
Eliminate RegisterAnalysis. RegisterPass now does all that is necessary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29921 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt/AnalysisWrappers.cpp')
-rw-r--r-- | tools/opt/AnalysisWrappers.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/opt/AnalysisWrappers.cpp b/tools/opt/AnalysisWrappers.cpp index b371d50ef3..5c815f2b02 100644 --- a/tools/opt/AnalysisWrappers.cpp +++ b/tools/opt/AnalysisWrappers.cpp @@ -61,7 +61,7 @@ namespace { } }; - RegisterAnalysis<ExternalFunctionsPassedConstants> + RegisterPass<ExternalFunctionsPassedConstants> P1("externalfnconstants", "Print external fn callsites passed constants"); struct CallGraphPrinter : public ModulePass { @@ -76,6 +76,6 @@ namespace { } }; - RegisterAnalysis<CallGraphPrinter> + RegisterPass<CallGraphPrinter> P2("callgraph", "Print a call graph"); } |