Reviewers: Vyacheslav Egorov,

Description:
Fix compilation error.


BUG=
TEST=


Please review this at http://codereview.chromium.org/6812017/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/parser.cc


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);
 }




--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to