Index: src/parsing/parser.cc |
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc |
index f022fda26009e049478b1dbef4682a996044a282..35f8d8fa9b2fe6f6efd6d4568ee5d70b87fddad2 100644 |
--- a/src/parsing/parser.cc |
+++ b/src/parsing/parser.cc |
@@ -820,6 +820,8 @@ FunctionLiteral* Parser::DoParseProgram(ParseInfo* info) { |
} |
} |
+ info->set_max_function_literal_id(GetLastFunctionLiteralId()); |
Toon Verwaest
2016/12/06 21:10:14
Mmh. ParseInfo isn't exactly supposed to be a comm
jochen (gone - plz use gerrit)
2016/12/07 15:57:00
it's also what communicates the parsing result to
Toon Verwaest
2016/12/08 07:31:30
Oh ok.. buh. Follow-up cleanup then I guess...
Lan
|
+ |
// Make sure the target stack is empty. |
DCHECK(target_stack_ == NULL); |