v8/test
Ross McIlroy 8da9dbbb54 [Parser] Add support for Zone allocated ConsumedPreParsingScopeData.
Adds support for zone allocated (off-heap) ConsumedPreParsingScopeData to
enable worker-thread access to PreParsingScopeData during parallel IIFE
compile tasks.

In order to avoid code-duplication, a templated
BaseConsumedPreParsingScopeData is added which implements the logic for
decoding the bytestream into scope data. Two implementations of this
base class are instantiated for each of the underlying serialized scope date:
  - ZoneConsumedPreParsedScopeData for exposing ZonePreParsedScopeData
  - OnHeapConsumedPreParsedScopeData for exposing on-heap PreParsedScopeData
The interface for each of these classes is the ConsumedPreParsingScopeData,
which exposes the methods required by the parser to deserialize the required
data.

As a side-cleanup, moved Ucs2CharLength and Utf8LengthHelper implementations
to cc file so that we don't get a linker error if one of them are unused by
the cc file including the header.


BUG=v8:8041

Change-Id: Id502312d32fe4a9ddb6f5d2d9d3e3a9d30b9b27d
Reviewed-on: https://chromium-review.googlesource.com/1199462
Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
Reviewed-by: Adam Klein <adamk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#55711}
2018-09-07 10:28:40 +00:00
..
benchmarks [test] Share resource-fetching logic with all d8 test cases 2018-08-29 17:51:43 +00:00
cctest [Parser] Add support for Zone allocated ConsumedPreParsingScopeData. 2018-09-07 10:28:40 +00:00
common [ptr-compr] Explicitly pass v8::PageAllocator instance to helper functions. 2018-09-06 14:45:58 +00:00
debugger Reland "[test] Increase coverage of d8_default test suites" 2018-09-07 07:53:29 +00:00
fuzzer Reland "[wasm] Implement the new API for WebAssembly.instantiateStreaming" 2018-08-14 08:20:19 +00:00
inspector Revert "inspector: find magic comment using V8 scanner" 2018-09-03 18:42:28 +00:00
intl Reland "[test] Increase coverage of d8_default test suites" 2018-09-07 07:53:29 +00:00
js-perf-test Revert "[Builtins] Array.prototype.forEach perf regression on dictionaries." 2018-09-06 11:00:15 +00:00
memory [builtins] Add embedded stats to --serialization-statistics 2018-07-05 12:33:26 +00:00
message Reland "[test] Increase coverage of d8_default test suites" 2018-09-07 07:53:29 +00:00
mjsunit [class] Add stack trace tests for public class fields 2018-09-06 13:45:01 +00:00
mkgrokdump Implement global proposal 2018-08-16 11:07:21 +00:00
mozilla [test] Add more test suites to Android testing 2018-09-07 09:53:15 +00:00
preparser [test] Share resource-fetching logic with all d8 test cases 2018-08-29 17:51:43 +00:00
test262 [array] Move Array.p.unshift fall-back to Torque 2018-09-06 07:09:05 +00:00
torque [torque] only expose safe FixedArray allocation 2018-08-13 15:58:17 +00:00
unittests [heap, api] Keep lower limit when adjusting external memory 2018-09-06 15:44:37 +00:00
wasm-spec-tests [test] Share resource-fetching logic with all d8 test cases 2018-08-29 17:51:43 +00:00
webkit Reland "[interpreter] Add bytecode for leading array spreads." 2018-09-05 09:29:51 +00:00
BUILD.gn Reland "[test] Add logic to run tests on Android" 2018-08-10 17:56:12 +00:00