v8/test/cctest/interpreter
Joyee Cheung 31a951d875 [class] implement access of private methods
This patch implements the access of private methods:

- When building property loads, check whether it requires
  a brand check. If so, build the brand check and load the
  property (the method) from the context instead.
- Throw type errors when there is an attempted write to private
  methods.

Design: https://docs.google.com/document/d/1T-Ql6HOIH2U_8YjWkwK2rTfywwb7b3Qe8d3jkz72KwA/edit#

Bug: v8:8330
Change-Id: Ic917d2a0030196c1940b0c0ba65a340af736c769
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1610383
Commit-Queue: Joyee Cheung <joyee@igalia.com>
Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#62292}
2019-06-19 15:38:21 +00:00
..
bytecode_expectations [class] implement access of private methods 2019-06-19 15:38:21 +00:00
bytecode-expectations-printer.cc (Reland) Torquefy a few more types 2019-05-30 20:35:22 +00:00
bytecode-expectations-printer.h Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
generate-bytecode-expectations.cc [test] Fix string length in generate-bytecode-expectations 2019-06-06 14:11:28 +00:00
interpreter-tester.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
interpreter-tester.h Move remaining files in src/ 2019-05-24 18:24:36 +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 access of private methods 2019-06-19 15:38:21 +00:00
test-interpreter-intrinsics.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00
test-interpreter.cc [interpreter] Fix LookupNameOfBytecodeHandler 2019-05-30 13:00:51 +00:00
test-source-positions.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00