diff options
author | Lauro Ramos Venancio <lauro.venancio@gmail.com> | 2007-05-02 20:37:47 +0000 |
---|---|---|
committer | Lauro Ramos Venancio <lauro.venancio@gmail.com> | 2007-05-02 20:37:47 +0000 |
commit | c718288f4939258a51ec5ae0c5be7b1a05eb6898 (patch) | |
tree | 780fb01eeeb530ffdc6a2066866b20194b25111e /lib/Analysis/IPA/CallGraph.cpp | |
parent | ce3b46552a03f502e56fb3c4db82f3f92c09eff9 (diff) |
Fix build error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36648 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/IPA/CallGraph.cpp')
-rw-r--r-- | lib/Analysis/IPA/CallGraph.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Analysis/IPA/CallGraph.cpp b/lib/Analysis/IPA/CallGraph.cpp index 43e70bb218..ad6c898540 100644 --- a/lib/Analysis/IPA/CallGraph.cpp +++ b/lib/Analysis/IPA/CallGraph.cpp @@ -190,14 +190,16 @@ private: } }; -const int CallGraph::ID = 0; + RegisterAnalysisGroup<CallGraph> X("Call Graph"); -const int BasicCallGraph::ID = 0; RegisterPass<BasicCallGraph> Y("basiccg", "Basic CallGraph Construction"); RegisterAnalysisGroup<CallGraph, true> Z(Y); } //End anonymous namespace +const int CallGraph::ID = 0; +const int BasicCallGraph::ID = 0; + void CallGraph::initialize(Module &M) { Mod = &M; } |