mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 02:24:22 +00:00
Add INSTANTIATE_AG_PASS, which combines RegisterPass<> with RegisterAnalysisGroup<> for pass registration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109058 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -172,9 +172,8 @@ private:
|
||||
} //End anonymous namespace
|
||||
|
||||
static RegisterAnalysisGroup<CallGraph> X("Call Graph");
|
||||
static RegisterPass<BasicCallGraph>
|
||||
Y("basiccg", "Basic CallGraph Construction", false, true);
|
||||
static RegisterAnalysisGroup<CallGraph, true> Z(Y);
|
||||
INITIALIZE_AG_PASS(BasicCallGraph, CallGraph, "basiccg",
|
||||
"Basic CallGraph Construction", false, true, true);
|
||||
|
||||
char CallGraph::ID = 0;
|
||||
char BasicCallGraph::ID = 0;
|
||||
|
Reference in New Issue
Block a user