v8/test
Joyee Cheung b9191bd355 [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}
2019-05-09 16:04:23 +00:00
..
benchmarks [test] Skip flaky test on predictable mode 2019-05-07 13:57:18 +00:00
cctest [class] implement private method declarations 2019-05-09 16:04:23 +00:00
common [wasm] Implement the table.fill instruction 2019-05-07 11:36:44 +00:00
debugger Reland "[Test] Update tests to work with lazy feedback allocation." 2019-05-08 12:51:13 +00:00
fuzzer [cleanup] Use Vector::begin instead of Vector::start 2019-04-29 12:43:16 +00:00
inspector inspector: added Debugger.setInstrumentationBreakpoint method 2019-05-08 20:34:11 +00:00
intl [intl] Remove redundant flattening of strings. 2019-05-08 15:05:27 +00:00
js-perf-test [js-perf-test] Add perf test for BigInt's ToBoolean 2019-05-07 12:59:47 +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 [class] implement private method declarations 2019-05-09 16:04:23 +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 Roll Test262 2019-05-08 23:22:48 +00:00
torque [torque] Add support for conditionally-included class fields 2019-05-08 17:25:02 +00:00
unittests Reland "Generate unwind info on Win/x64 by default" 2019-05-09 09:09:18 +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