summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/IPA/CallGraph.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-08-28 00:42:29 +0000
committerChris Lattner <sabre@nondot.org>2006-08-28 00:42:29 +0000
commit97c9f20c52a3b9ec01a3646a15f909798acf5192 (patch)
treee28ebdb00e956d1219b01e56235d15db25e47a8f /llvm/lib/Analysis/IPA/CallGraph.cpp
parent80f843d31d6bf058c69f2f369b3cbf1b38fa1ca4 (diff)
downloadbcm5719-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.cpp2
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
OpenPOWER on IntegriCloud