summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/IPA/CallGraph.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-08-27 22:42:52 +0000
committerChris Lattner <sabre@nondot.org>2006-08-27 22:42:52 +0000
commitc2d3d3112e981b142ffdb742622b52bc165a3df9 (patch)
tree01726132d406eb377d56c0590770db01784bef36 /llvm/lib/Analysis/IPA/CallGraph.cpp
parentc7cff24f40b22bf010d33a92c08c707a419a6b98 (diff)
downloadbcm5719-llvm-c2d3d3112e981b142ffdb742622b52bc165a3df9.tar.gz
bcm5719-llvm-c2d3d3112e981b142ffdb742622b52bc165a3df9.zip
eliminate RegisterOpt. It does the same thing as RegisterPass.
llvm-svn: 29925
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 23a7599ce57..8836807bfc6 100644
--- a/llvm/lib/Analysis/IPA/CallGraph.cpp
+++ b/llvm/lib/Analysis/IPA/CallGraph.cpp
@@ -182,7 +182,7 @@ private:
};
RegisterAnalysisGroup<CallGraph> X("Call Graph");
-RegisterOpt<BasicCallGraph> Y("basiccg", "Basic CallGraph Construction");
+RegisterPass<BasicCallGraph> Y("basiccg", "Basic CallGraph Construction");
RegisterAnalysisGroup<CallGraph, BasicCallGraph, true> Z;
} //End anonymous namespace
OpenPOWER on IntegriCloud