Reviewers: rossberg,
Message:
rossberg, ptal
wingo, fyi, this is somewhat related to the "extra pass for bailout IDs"
stuff
you're looking at; though, the ast node ids are used for other things as
well
afaics, so we might not be able to get rid of doing some id counting during
the
parsing pass...
Description:
Take ast node id counting away from Isolate.
When we're going to parse multiple scripts in parallel, we cannot have the
Isolate count the ast node ids.
Now the counter is stored in CompilationInfo instead. This is because we
need to
add ast nodes after parsing too.
[email protected]
BUG=
Please review this at https://codereview.chromium.org/490173002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+311, -342 lines):
M src/ast.h
M src/ast.cc
M src/compiler.h
M src/compiler.cc
M src/isolate.h
M src/parser.h
M src/parser.cc
M src/preparser.h
M src/rewriter.cc
M src/scopes.cc
M src/zone.h
M test/cctest/test-ast.cc
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.