v8/src/interpreter
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
..
block-coverage-builder.h
bytecode-array-accessor.cc
bytecode-array-accessor.h
bytecode-array-builder.cc Reland "Optimize in operator" 2019-03-01 09:01:18 +00:00
bytecode-array-builder.h Reland "Optimize in operator" 2019-03-01 09:01:18 +00:00
bytecode-array-iterator.cc
bytecode-array-iterator.h
bytecode-array-random-iterator.cc
bytecode-array-random-iterator.h
bytecode-array-writer.cc [cleanup] Removing break and return after UNREACHABLE() 2019-05-10 13:42:57 +00:00
bytecode-array-writer.h Reland "[ignition] Skip binding dead labels" 2019-02-28 14:06:15 +00:00
bytecode-decoder.cc
bytecode-decoder.h
bytecode-flags.cc Retire PretenureFlag and use AllocationType everywhere. 2019-03-12 08:10:44 +00:00
bytecode-flags.h
bytecode-generator.cc Reland "[class] implement private method declarations" 2019-05-13 20:20:53 +00:00
bytecode-generator.h Reland "[class] implement private method declarations" 2019-05-13 20:20:53 +00:00
bytecode-jump-table.h
bytecode-label.cc Reland "[ignition] Skip binding dead labels" 2019-02-28 14:06:15 +00:00
bytecode-label.h Reland "[ignition] Skip binding dead labels" 2019-02-28 14:06:15 +00:00
bytecode-node.cc
bytecode-node.h
bytecode-operands.cc
bytecode-operands.h [interpreter] Micro-optimize bytecode-operands.h 2019-04-03 11:47:46 +00:00
bytecode-register-allocator.h
bytecode-register-optimizer.cc
bytecode-register-optimizer.h Reland "[ignition] Skip binding dead labels" 2019-02-28 14:06:15 +00:00
bytecode-register.cc
bytecode-register.h v8: Fix -Wextra-semi warnings, enable warning. 2019-02-13 14:11:28 +00:00
bytecode-source-info.cc
bytecode-source-info.h
bytecode-traits.h [interpreter][cleanup] Using 'using' instead of 'typedef' 2019-04-03 15:30:00 +00:00
bytecodes.cc
bytecodes.h Reland "Optimize in operator" 2019-03-01 09:01:18 +00:00
constant-array-builder.cc [cleanup] Removing break and return after UNREACHABLE() 2019-05-10 13:42:57 +00:00
constant-array-builder.h [interpreter][cleanup] Using 'using' instead of 'typedef' 2019-04-03 15:30:00 +00:00
control-flow-builders.cc Reland "[ignition] Skip binding dead labels" 2019-02-28 14:06:15 +00:00
control-flow-builders.h Reland "[ignition] Skip binding dead labels" 2019-02-28 14:06:15 +00:00
handler-table-builder.cc Retire PretenureFlag and use AllocationType everywhere. 2019-03-12 08:10:44 +00:00
handler-table-builder.h
interpreter-assembler.cc [cleanup] Removing break and return after UNREACHABLE() 2019-05-10 13:42:57 +00:00
interpreter-assembler.h Revert "Torquefy a few more types" 2019-04-08 22:29:10 +00:00
interpreter-generator.cc [coverage] Reduce IncBlockCounter overhead 2019-04-24 13:09:16 +00:00
interpreter-generator.h
interpreter-intrinsics-generator.cc [runtime] Optimize general object spread. 2019-04-29 18:47:19 +00:00
interpreter-intrinsics-generator.h
interpreter-intrinsics.cc
interpreter-intrinsics.h [runtime] Optimize general object spread. 2019-04-29 18:47:19 +00:00
interpreter.cc [cleanup] Reduce the includes and forward-declarations of log.h 2019-01-22 17:25:48 +00:00
interpreter.h [cctest] Add V8_EXPORT_PRIVATE for cctest (src/interpreter part) 2019-04-04 10:33:52 +00:00
OWNERS