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