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