v8/test
Yang Guo a1b431d7d3 [serializer] share class positions tuple across contexts
Class positions is a struct that stores the start and end positions of a class
literal. It is stored both on class objects, and the template used to
instantiate class objects.

The template is reachable from the bytecode array and therefore serialized by
the startup serializer. Class objects are context-dependent and therefore
serialized by the partial serializer. Serializing class positions from both
serializers violates the assumption that we don't serialize any object twice.

R=gsathya@chromium.org

Bug: v8:8761
Change-Id: If22c554cc7396d63998a015454ce0c67a7d2e05c
Reviewed-on: https://chromium-review.googlesource.com/c/1444956
Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#59292}
2019-02-01 13:58:31 +00:00
..
benchmarks [Test] CSuite benchmark runner 2018-12-21 13:15:57 +00:00
cctest [serializer] share class positions tuple across contexts 2019-02-01 13:58:31 +00:00
common [wasm] Rename memory.drop and table.drop 2019-01-31 19:27:57 +00:00
debugger [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
fuzzer [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
inspector [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
intl [Intl] Implement intl-datetime-style 2019-02-01 03:10:04 +00:00
js-perf-test [test] add performance tests for String#startsWith 2019-01-17 08:23:06 +00:00
memory [snapshot] Remove the builtins snapshot 2018-10-31 10:18:28 +00:00
message [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
mjsunit [Builtins]: Array.prototype.map out of memory error 2019-02-01 12:33:19 +00:00
mkgrokdump [nojit] Don't allocate executable memory in jitless mode 2019-01-10 10:55:48 +00:00
mozilla Revert "[runtime] Reduce spread/apply call max arguments" 2018-11-30 09:54:47 +00:00
preparser [test] Share resource-fetching logic with all d8 test cases 2018-08-29 17:51:43 +00:00
test262 Roll test262 2019-01-31 18:31:47 +00:00
torque Reland "[torque] Implement safe initialization of classes through hidden structs" 2019-01-22 17:49:39 +00:00
unittests [wasm] Rename memory.drop and table.drop 2019-01-31 19:27:57 +00:00
wasm-js [wasm] fix js-api module/customSection 2019-01-29 20:05:10 +00:00
wasm-spec-tests [wasm] Update core wasm spec tests 2019-01-29 11:58:25 +00:00
webkit [json] Extend JSON#stringify error message for circular structures 2019-01-29 08:00:10 +00:00
BUILD.gn Reland "[wasm] Add a new wasm-js testsuite to run js-api tests" 2018-10-18 20:18:55 +00:00