Index: src/interpreter/bytecode-generator.cc |
diff --git a/src/interpreter/bytecode-generator.cc b/src/interpreter/bytecode-generator.cc |
index e5baaae758e5e97fd1b5165bb9d108d4cb253e14..9cce681ad4ac79119ec701907df4813d156b3d60 100644 |
--- a/src/interpreter/bytecode-generator.cc |
+++ b/src/interpreter/bytecode-generator.cc |
@@ -41,7 +41,7 @@ Handle<BytecodeArray> BytecodeGenerator::MakeBytecode(CompilationInfo* info) { |
VisitDeclarations(scope()->declarations()); |
// Visit statements in the function body. |
- VisitStatements(info->function()->body()); |
+ VisitStatements(info->literal()->body()); |
set_scope(nullptr); |
return builder_.ToBytecodeArray(); |