From 5d8925c7c506a54ebdfb0bc93437ec9f602eaaa0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 27 Aug 2006 22:30:17 +0000 Subject: 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 --- lib/Analysis/CFGPrinter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/Analysis/CFGPrinter.cpp') diff --git a/lib/Analysis/CFGPrinter.cpp b/lib/Analysis/CFGPrinter.cpp index 693c1f6d8c..a762a8e5f8 100644 --- a/lib/Analysis/CFGPrinter.cpp +++ b/lib/Analysis/CFGPrinter.cpp @@ -109,8 +109,8 @@ namespace { } }; - RegisterAnalysis P1("print-cfg", - "Print CFG of function to 'dot' file"); + RegisterPass P1("print-cfg", + "Print CFG of function to 'dot' file"); struct CFGOnlyPrinter : public CFGPrinter { virtual bool runOnFunction(Function &F) { @@ -127,7 +127,7 @@ namespace { } }; - RegisterAnalysis + RegisterPass P2("print-cfg-only", "Print CFG of function to 'dot' file (with no function bodies)"); } -- cgit v1.2.3-70-g09d2