Chromium Code Reviews| Index: src/parsing/parser.cc |
| diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc |
| index 13866118626bb20004cd14d5c2c564ce3b04d65e..e9813cc7d7f56e39bb530c97c38078523b4d43f5 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); |