diff options
author | Chris Lattner <sabre@nondot.org> | 2002-07-27 01:12:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-07-27 01:12:17 +0000 |
commit | 2675007573b820d1c084afe560105ab8a622d942 (patch) | |
tree | f1d936ba7cfe6eff56304634bbc16e760d71837c /llvm/lib/Analysis/IPA/CallGraph.cpp | |
parent | 96a0dfa33e8469ef18866d1d89708af18929e38e (diff) | |
download | bcm5719-llvm-2675007573b820d1c084afe560105ab8a622d942.tar.gz bcm5719-llvm-2675007573b820d1c084afe560105ab8a622d942.zip |
* Standardize how analysis results/passes as printed with the print() virtual
methods
* Eliminate AnalysisID: Now it is just a typedef for const PassInfo*
* Simplify how AnalysisID's are initialized
* Eliminate Analysis/Writer.cpp/.h: incorporate printing functionality into
the analyses themselves.
llvm-svn: 3116
Diffstat (limited to 'llvm/lib/Analysis/IPA/CallGraph.cpp')
-rw-r--r-- | llvm/lib/Analysis/IPA/CallGraph.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/IPA/CallGraph.cpp b/llvm/lib/Analysis/IPA/CallGraph.cpp index dfb5de68de0..709c1942f63 100644 --- a/llvm/lib/Analysis/IPA/CallGraph.cpp +++ b/llvm/lib/Analysis/IPA/CallGraph.cpp @@ -46,8 +46,7 @@ #include <algorithm> static RegisterAnalysis<CallGraph> X("callgraph", "Call Graph Construction"); - -AnalysisID CallGraph::ID(AnalysisID::create<CallGraph>()); +AnalysisID CallGraph::ID = X; // getNodeFor - Return the node for the specified function or create one if it // does not already exist. |