summaryrefslogtreecommitdiff
path: root/tools/opt/GraphPrinters.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
commit5d8925c7c506a54ebdfb0bc93437ec9f602eaaa0 (patch)
treedea599a5388d6da5b94fec761128353f08be2dc3 /tools/opt/GraphPrinters.cpp
parent2dd3d423aae84649c434b2a58ba4ed7e918580d8 (diff)
downloadllvm-5d8925c7c506a54ebdfb0bc93437ec9f602eaaa0.tar.gz
llvm-5d8925c7c506a54ebdfb0bc93437ec9f602eaaa0.tar.bz2
llvm-5d8925c7c506a54ebdfb0bc93437ec9f602eaaa0.tar.xz
Eliminate RegisterAnalysis. RegisterPass now does all that is necessary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29921 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt/GraphPrinters.cpp')
-rw-r--r--tools/opt/GraphPrinters.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/opt/GraphPrinters.cpp b/tools/opt/GraphPrinters.cpp
index 8826cd2a77..8ae0a0340c 100644
--- a/tools/opt/GraphPrinters.cpp
+++ b/tools/opt/GraphPrinters.cpp
@@ -72,6 +72,6 @@ namespace {
}
};
- RegisterAnalysis<CallGraphPrinter> P2("print-callgraph",
- "Print Call Graph to 'dot' file");
+ RegisterPass<CallGraphPrinter> P2("print-callgraph",
+ "Print Call Graph to 'dot' file");
}