Take ast node id counting away from Isolate.
authormarja@chromium.org <marja@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 22 Aug 2014 11:12:29 +0000 (11:12 +0000)
committermarja@chromium.org <marja@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 22 Aug 2014 11:12:29 +0000 (11:12 +0000)
commit77d06401adb826a8c8a8e919b0f6e26c2ba2e9ae
treea9e8dedb2ff9478fa5cefd0ea8ba79824e8c6e02
parent2229575b261ee83efcc77197be910419adaf3d26
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.

R=rossberg@chromium.org
BUG=

Review URL: https://codereview.chromium.org/490173002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23301 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
12 files changed:
src/ast.cc
src/ast.h
src/compiler.cc
src/compiler.h
src/isolate.h
src/parser.cc
src/parser.h
src/preparser.h
src/rewriter.cc
src/scopes.cc
src/zone.h
test/cctest/test-ast.cc