From: Chris Lattner Date: Mon, 8 Apr 2002 22:05:01 +0000 (+0000) Subject: s/PrintMethodPass/PrintFunctionPass X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=02d6ef89768ff96bbfe0afdcc1fdfdc380e8de2f;p=oota-llvm.git s/PrintMethodPass/PrintFunctionPass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2182 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 819c80a2792..32a06dd291e 100644 --- a/tools/llc/llc.cpp +++ b/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/tools/opt/opt.cpp b/tools/opt/opt.cpp index 9b2a19a9321..ce60d9453e4 100644 --- a/tools/opt/opt.cpp +++ b/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...