From 6e39131e0152e33e6512a4a9f7e49815d74bcc7c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 8 Apr 2002 22:05:01 +0000 Subject: s/PrintMethodPass/PrintFunctionPass llvm-svn: 2182 --- llvm/tools/llc/llc.cpp | 2 +- llvm/tools/opt/opt.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/tools') diff --git a/llvm/tools/llc/llc.cpp b/llvm/tools/llc/llc.cpp index 819c80a2792..32a06dd291e 100644 --- a/llvm/tools/llc/llc.cpp +++ b/llvm/tools/llc/llc.cpp @@ -129,7 +129,7 @@ int main(int argc, char **argv) { // If LLVM dumping after transformations is requested, add it to the pipeline if (DumpAsm) - Passes.add(new PrintMethodPass("Code after xformations: \n", &cerr)); + Passes.add(new PrintFunctionPass("Code after xformations: \n", &cerr)); // Figure out where we are going to send the output... std::ostream *Out = 0; diff --git a/llvm/tools/opt/opt.cpp b/llvm/tools/opt/opt.cpp index 9b2a19a9321..ce60d9453e4 100644 --- a/llvm/tools/opt/opt.cpp +++ b/llvm/tools/opt/opt.cpp @@ -56,7 +56,7 @@ enum Opts { }; static Pass *createPrintMethodPass() { - return new PrintMethodPass("Current Method: \n", &cerr); + return new PrintFunctionPass("Current Method: \n", &cerr); } // OptTable - Correlate enum Opts to Pass constructors... -- cgit v1.2.3