aboutsummaryrefslogtreecommitdiffstats
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
commit02d6ef89768ff96bbfe0afdcc1fdfdc380e8de2f (patch)
treef141d8077223e950e714cdfdca6151f69b4431b3
parent8bfa89c7f525e63a244788e496b786942641d3b2 (diff)
downloadexternal_llvm-02d6ef89768ff96bbfe0afdcc1fdfdc380e8de2f.zip
external_llvm-02d6ef89768ff96bbfe0afdcc1fdfdc380e8de2f.tar.gz
external_llvm-02d6ef89768ff96bbfe0afdcc1fdfdc380e8de2f.tar.bz2
s/PrintMethodPass/PrintFunctionPass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2182 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/llc/llc.cpp2
-rw-r--r--tools/opt/opt.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index 819c80a..32a06dd 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 9b2a19a..ce60d94 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...