From 41223586a2d1cfc04bb6382aec67c086041afd73 Mon Sep 17 00:00:00 2001 From: Lauro Ramos Venancio Date: Wed, 2 May 2007 20:37:47 +0000 Subject: Fix build error. llvm-svn: 36648 --- llvm/lib/Analysis/IPA/CallGraph.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Analysis/IPA/CallGraph.cpp') 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 X("Call Graph"); -const int BasicCallGraph::ID = 0; RegisterPass Y("basiccg", "Basic CallGraph Construction"); RegisterAnalysisGroup Z(Y); } //End anonymous namespace +const int CallGraph::ID = 0; +const int BasicCallGraph::ID = 0; + void CallGraph::initialize(Module &M) { Mod = &M; } -- cgit v1.2.3