aboutsummaryrefslogtreecommitdiff
path: root/tools/opt/opt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/opt/opt.cpp')
-rw-r--r--tools/opt/opt.cpp2
1 files changed, 1 insertions, 1 deletions
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...