diff options
author | Chris Lattner <sabre@nondot.org> | 2006-08-28 00:42:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-08-28 00:42:29 +0000 |
commit | 97c9f20c52a3b9ec01a3646a15f909798acf5192 (patch) | |
tree | e28ebdb00e956d1219b01e56235d15db25e47a8f /llvm/lib/Analysis/IPA/CallGraph.cpp | |
parent | 80f843d31d6bf058c69f2f369b3cbf1b38fa1ca4 (diff) | |
download | bcm5719-llvm-97c9f20c52a3b9ec01a3646a15f909798acf5192.tar.gz bcm5719-llvm-97c9f20c52a3b9ec01a3646a15f909798acf5192.zip |
simplify AnalysisGroup registration, eliminating one typeid call.
llvm-svn: 29932
Diffstat (limited to 'llvm/lib/Analysis/IPA/CallGraph.cpp')
-rw-r--r-- | llvm/lib/Analysis/IPA/CallGraph.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/IPA/CallGraph.cpp b/llvm/lib/Analysis/IPA/CallGraph.cpp index 8836807bfc6..dab6867d323 100644 --- a/llvm/lib/Analysis/IPA/CallGraph.cpp +++ b/llvm/lib/Analysis/IPA/CallGraph.cpp @@ -183,7 +183,7 @@ private: RegisterAnalysisGroup<CallGraph> X("Call Graph"); RegisterPass<BasicCallGraph> Y("basiccg", "Basic CallGraph Construction"); -RegisterAnalysisGroup<CallGraph, BasicCallGraph, true> Z; +RegisterAnalysisGroup<CallGraph, true> Z(Y); } //End anonymous namespace |