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