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