summaryrefslogtreecommitdiffstats
path: root/llvm/tools/opt/PrintSCC.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-08-27 22:30:17 +0000
committerChris Lattner <sabre@nondot.org>2006-08-27 22:30:17 +0000
commit3c9b2420dfbbc9b4b623437e0209588176e08888 (patch)
tree9acae1d344518122c2d6e8c55b604f3d0019dfc8 /llvm/tools/opt/PrintSCC.cpp
parentfbb46500cf21ff15c9b0ac18c7f69417bdf7571f (diff)
downloadbcm5719-llvm-3c9b2420dfbbc9b4b623437e0209588176e08888.tar.gz
bcm5719-llvm-3c9b2420dfbbc9b4b623437e0209588176e08888.zip
Eliminate RegisterAnalysis. RegisterPass now does all that is necessary.
llvm-svn: 29921
Diffstat (limited to 'llvm/tools/opt/PrintSCC.cpp')
-rw-r--r--llvm/tools/opt/PrintSCC.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/opt/PrintSCC.cpp b/llvm/tools/opt/PrintSCC.cpp
index c0adf5ca034..904442d11f8 100644
--- a/llvm/tools/opt/PrintSCC.cpp
+++ b/llvm/tools/opt/PrintSCC.cpp
@@ -57,10 +57,10 @@ namespace {
}
};
- RegisterAnalysis<CFGSCC>
+ RegisterPass<CFGSCC>
Y("cfgscc", "Print SCCs of each function CFG");
- RegisterAnalysis<CallGraphSCC>
+ RegisterPass<CallGraphSCC>
Z("callscc", "Print SCCs of the Call Graph");
}
OpenPOWER on IntegriCloud