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 | 41223586a2d1cfc04bb6382aec67c086041afd73 (patch) | |
| tree | 59a1f3803ef09f1e93af2ce25d30c545cba352a6 /llvm/lib/Analysis/IPA/CallGraph.cpp | |
| parent | f1dcf69fc38e12100fa62a56f97dea269023ebe5 (diff) | |
| download | bcm5719-llvm-41223586a2d1cfc04bb6382aec67c086041afd73.tar.gz bcm5719-llvm-41223586a2d1cfc04bb6382aec67c086041afd73.zip | |
Fix build error.
llvm-svn: 36648
Diffstat (limited to 'llvm/lib/Analysis/IPA/CallGraph.cpp')
| -rw-r--r-- | llvm/lib/Analysis/IPA/CallGraph.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/IPA/CallGraph.cpp b/llvm/lib/Analysis/IPA/CallGraph.cpp index 43e70bb2184..ad6c898540e 100644 --- a/llvm/lib/Analysis/IPA/CallGraph.cpp +++ b/llvm/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; } |

