summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-04-08 22:05:01 +0000
committerChris Lattner <sabre@nondot.org>2002-04-08 22:05:01 +0000
commit6e39131e0152e33e6512a4a9f7e49815d74bcc7c (patch)
tree6fe22a31594bd294cb1766b7c20b4ba37178542b
parent1e759cb144b50b2b9cbde1c3358cd5d3cbb00fd5 (diff)
downloadbcm5719-llvm-6e39131e0152e33e6512a4a9f7e49815d74bcc7c.tar.gz
bcm5719-llvm-6e39131e0152e33e6512a4a9f7e49815d74bcc7c.zip
s/PrintMethodPass/PrintFunctionPass
llvm-svn: 2182
-rw-r--r--llvm/tools/llc/llc.cpp2
-rw-r--r--llvm/tools/opt/opt.cpp2
2 files changed, 2 insertions, 2 deletions
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...
OpenPOWER on IntegriCloud