v8/test/cctest/interpreter
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
..
bytecode_expectations Allow Proxy constructor to take revoked Proxies as targets and handlers 2020-04-24 19:16:21 +00:00
bytecode-expectations-printer.cc [api] Create v8::String::NewFromLiteral that returns Local<String> 2020-03-09 12:02:07 +00:00
bytecode-expectations-printer.h [cleanup] Eliminate non-const reference parameters 2019-09-10 09:31:07 +00:00
generate-bytecode-expectations.cc [top-level-await] Add support for parsing top level await 2019-09-24 14:01:32 +00:00
interpreter-tester.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
interpreter-tester.h [test] Add receiver as argument in the interpreter tests 2020-03-16 14:20:23 +00:00
source-position-matcher.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
source-position-matcher.h Move remaining files in src/ 2019-05-24 18:24:36 +00:00
test-bytecode-generator.cc [class] implement inspector support for private instance methods 2019-12-04 20:13:34 +00:00
test-interpreter-intrinsics.cc [runtime] Reverse JS arguments: fix tests and builtin arguments 2020-03-20 13:07:11 +00:00
test-interpreter.cc [parser] Move Compiler::Analyze into Parser 2020-05-06 13:35:37 +00:00
test-source-positions.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00