Chromium Code Reviews| Index: src/parser.cc |
| diff --git a/src/parser.cc b/src/parser.cc |
| index 69ecfe466660c84e60cc45bf63af6e460966604e..4fad6e44f64c6689f2e41b2972c14e84275b0d51 100644 |
| --- a/src/parser.cc |
| +++ b/src/parser.cc |
| @@ -533,7 +533,7 @@ LexicalScope::LexicalScope(Parser* parser, Scope* scope, Isolate* isolate) |
| parser->top_scope_ = scope; |
| parser->lexical_scope_ = this; |
| parser->with_nesting_level_ = 0; |
| - isolate->set_ast_node_id(AstNode::kRootAstId + 1); |
| + isolate->set_ast_node_id(AstNode::kFunctionEntryId + 1); |
| } |