aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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...