mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
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
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user