Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index 5ee217ca5c16a12f3142c0219c8cc0e013dbf486..0b6bdeaf4301b08374b2981017de9237da993341 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -496,7 +496,7 @@ Parser::FunctionState::FunctionState(Parser* parser, |
factory_(isolate, parser->zone()) { |
parser->top_scope_ = scope; |
parser->current_function_state_ = this; |
- isolate->set_ast_node_id(AstNode::kDeclarationsId + 1); |
+ isolate->set_ast_node_id(BailoutId::FirstUsable().ToInt()); |
} |