aboutsummaryrefslogtreecommitdiff
path: root/tools/opt/AnalysisWrappers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/opt/AnalysisWrappers.cpp')
-rw-r--r--tools/opt/AnalysisWrappers.cpp4
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");
}