[llvm-commits] [poolalloc] r160292 - /poolalloc/trunk/lib/AssistDS/DataStructureCallGraph.cpp
Matthew Wala
mttjwl at gmail.com
Mon Jul 16 10:26:47 PDT 2012
Author: wala1
Date: Mon Jul 16 12:26:47 2012
New Revision: 160292
URL: http://llvm.org/viewvc/llvm-project?rev=160292&view=rev
Log:
Fix registration.
Modified:
poolalloc/trunk/lib/AssistDS/DataStructureCallGraph.cpp
Modified: poolalloc/trunk/lib/AssistDS/DataStructureCallGraph.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/AssistDS/DataStructureCallGraph.cpp?rev=160292&r1=160291&r2=160292&view=diff
==============================================================================
--- poolalloc/trunk/lib/AssistDS/DataStructureCallGraph.cpp (original)
+++ poolalloc/trunk/lib/AssistDS/DataStructureCallGraph.cpp Mon Jul 16 12:26:47 2012
@@ -26,11 +26,15 @@
char DataStructureCallGraph::ID;
+namespace {
+
static RegisterPass<DataStructureCallGraph>
X("dsa-cg", "DSA-based CallGraph implementation");
RegisterAnalysisGroup<CallGraph> Y(X);
+}
+
bool DataStructureCallGraph::runOnModule(Module &M) {
CallGraph::initialize(M);
More information about the llvm-commits
mailing list