Index: src/parsing/parser.cc |
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc |
index 3e0637b70185d9a7d4328ef9f07447f619629c4b..c8b22f69348bf5f27852beb1133bffb9c747c3fa 100644 |
--- a/src/parsing/parser.cc |
+++ b/src/parsing/parser.cc |
@@ -838,6 +838,8 @@ FunctionLiteral* Parser::DoParseProgram(ParseInfo* info) { |
} |
} |
+ info->set_max_function_literal_id(GetLastFunctionLiteralId()); |
+ |
// Make sure the target stack is empty. |
DCHECK(target_stack_ == NULL); |