diff options
author | Chris Lattner <sabre@nondot.org> | 2002-04-08 22:05:01 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-04-08 22:05:01 +0000 |
commit | 02d6ef89768ff96bbfe0afdcc1fdfdc380e8de2f (patch) | |
tree | f141d8077223e950e714cdfdca6151f69b4431b3 /tools | |
parent | 8bfa89c7f525e63a244788e496b786942641d3b2 (diff) | |
download | llvm-02d6ef89768ff96bbfe0afdcc1fdfdc380e8de2f.tar.gz llvm-02d6ef89768ff96bbfe0afdcc1fdfdc380e8de2f.tar.bz2 llvm-02d6ef89768ff96bbfe0afdcc1fdfdc380e8de2f.tar.xz |
s/PrintMethodPass/PrintFunctionPass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2182 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llc/llc.cpp | 2 | ||||
-rw-r--r-- | tools/opt/opt.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 819c80a279..32a06dd291 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 9b2a19a932..ce60d9453e 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... |