v8/test/cctest/parsing
Leszek Swirski 65d738d432 [parser] Move Compiler::Analyze into Parser
Move rewriting, scope analysis, and internalization, to be unconditional
operations done after parsing rather than a separate compile phase. This
removes some of the complexity about rememberering when to call
Compiler::Analyze, and makes these paths a bit more uniform.

Also, forbid allocating any more AST strings after AstValueFactory
internalization, by nulling out the Zone. Add an InternalizePartial
method which doesn't null out the zone for those cases where we do want
to be able to allocate after internalizing (e.g. internalization before
scope analysis).

Change-Id: Id444246d8362a1d169baf664fc37657d9576fd96
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2182458
Reviewed-by: Toon Verwaest <verwaest@chromium.org>
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/master@{#67608}
2020-05-06 13:35:37 +00:00
..
test-parse-decision.cc Move utility code to src/utils 2019-05-23 14:13:34 +00:00
test-preparser.cc [parser] Move Compiler::Analyze into Parser 2020-05-06 13:35:37 +00:00
test-scanner-streams.cc Fix compilation error with devtoolset-8 2020-04-21 12:27:48 +00:00
test-scanner.cc Reland^5 "[parser] Introduce UnoptimizedCompileFlags" 2020-04-22 11:35:35 +00:00