v8/test
Joyee Cheung 00c7e2a2c5 Reland "[class] implement private method declarations"
Added null check when printing the brand with --print-ast.

Bug: chromium:961507, chromium:961508

Original change's description:
> [class] implement private method declarations
>
> This patch implements the declarations of private methods, the access
> of private methods would be left to a future patch.
> When a private methods declaration is encountered, we now:
>
> - Create a brand symbol during class evaluation and store it in the
>   context.
> - Create the closures for the private methods
> - Load the brand from the context and store it in the instance in the
>   constructor.
>
> Design: https://docs.google.com/document/d/1T-Ql6HOIH2U_8YjWkwK2rTfywwb7b3Qe8d3jkz72KwA/edit#
>
> Bug: v8:8330
> Change-Id: I2d695cbdc8a7367ddc7620d627b318f779d36150
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1568708
> Commit-Queue: Joyee Cheung <joyee@igalia.com>
> Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
> Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#61387}

Change-Id: I3bf465f70c27914c9ec19f3f59ae018b28c9a866
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1605521
Commit-Queue: Joyee Cheung <joyee@igalia.com>
Reviewed-by: Adam Klein <adamk@chromium.org>
Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61459}
2019-05-13 20:20:53 +00:00
..
benchmarks [test] Skip flaky test on predictable mode 2019-05-07 13:57:18 +00:00
cctest Reland "[class] implement private method declarations" 2019-05-13 20:20:53 +00:00
common [wasm] Implement the ref.func instruction 2019-05-13 11:19:32 +00:00
debugger Reland "[Test] Update tests to work with lazy feedback allocation." 2019-05-08 12:51:13 +00:00
fuzzer Discard CHECK failure messages for official builds to save binary size 2019-05-10 19:33:04 +00:00
inspector [wasm] Display wasm globals in the inspector 2019-05-10 18:35:44 +00:00
intl [Intl] Remove harmony-locale flag 2019-05-11 06:02:42 +00:00
js-perf-test Add micro-benchmark of array.indexOf, array.includes for frozen objects 2019-05-11 18:40:57 +00:00
memory [perf] Refactor the Memory benchmark to use d8 2019-05-06 15:10:57 +00:00
message [wasm] Fix source positions for rethrown exceptions. 2019-05-09 10:44:58 +00:00
mjsunit Reland "[class] implement private method declarations" 2019-05-13 20:20:53 +00:00
mkgrokdump Reland "[heap] Skip ro-space from heap iterators, add CombinedHeapIterator." 2019-05-02 17:35:18 +00:00
mozilla Reland "[test] Remove longer timeout on bots" 2019-05-02 13:04:29 +00:00
preparser [test] Don't test jitless without embedded-builtins 2019-02-26 14:33:01 +00:00
test262 [Intl] Remove harmony-locale flag 2019-05-11 06:02:42 +00:00
torque [torque] Automatically generate verifier functions 2019-05-10 17:17:04 +00:00
unittests [wasm] Use CommitPageSize where appropriate 2019-05-13 14:38:13 +00:00
wasm-js [testrunner] handle timeout param in file 2019-02-27 17:49:17 +00:00
wasm-spec-tests [wasm] Update spec tests 2019-04-29 08:03:46 +00:00
webkit [test] Stress wasm code gc in "stress_background_compile" 2019-05-02 09:56:05 +00:00
BUILD.gn [tools] Implement confidence-based number of runs 2019-05-09 09:42:28 +00:00
OWNERS Make tmrts an infra OWNER 2019-02-15 09:02:24 +00:00