Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index 2b792be89472ed2c5b8715ec286fd4ecf2101d30..e7725799233cbb63136c4bc73473c440d7463f95 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -601,7 +601,7 @@ void AstGraphBuilder::CreateGraphBody(bool stack_check) { |
} |
// Visit statements in the function body. |
- VisitStatements(info()->function()->body()); |
+ VisitStatements(info()->literal()->body()); |
// Emit tracing call if requested to do so. |
if (FLAG_trace) { |