summaryrefslogtreecommitdiff
path: root/tools/llc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llc')
-rw-r--r--tools/llc/llc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index b365c3900d..802fd03729 100644
--- a/tools/llc/llc.cpp
+++ b/tools/llc/llc.cpp
@@ -88,7 +88,7 @@ int main(int argc, char **argv) {
if (TraceValues == TraceBasicBlocks)
Passes.add(createTraceValuesPassForBasicBlocks());
else if (TraceValues == TraceFunctions)
- Passes.add(createTraceValuesPassForMethod());
+ Passes.add(createTraceValuesPassForFunction());
else
assert(0 && "Bad value for TraceValues!");