v8/test/cctest/interpreter/bytecode_expectations
Joyee Cheung 77d50cd8e7 [class] implement private accessor declarations
This patch implements the declaration of private accessors.
When iterating over the class properties, we track private
accessors associated with the same name in a ZoneHashMap.
Once we get to all the necessary components for a private name
(we know statically whether we should expect only a setter,
only a getter, or both), we emit a call to a runtime function
`CreatePrivateAccessors` that creates an AccessorPair, and
store the components in it. The AccessorPair is then associated
with the private name variable and stored in the context
for later retrieval when the private accessors are accessed.

Design doc: https://docs.google.com/document/d/10W4begYfs7lmldSqBoQBBt_BKamgT8igqxF9u50RGrI/edit

Bug: v8:8330
Change-Id: Ie6d3882507d143b1f645d7ae82b21b7358656e89
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1725670
Commit-Queue: Joyee Cheung <joyee@igalia.com>
Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#63284}
2019-08-20 15:32:34 +00:00
..
ArrayLiterals.golden Add GetIterator bytecode to load object[Symbol.iterator] in accumulator 2019-08-09 07:58:32 +00:00
AssignmentsInBinaryExpression.golden
AsyncGenerators.golden Add GetIterator bytecode to load object[Symbol.iterator] in accumulator 2019-08-09 07:58:32 +00:00
BasicBlockToBoolean.golden
BasicLoops.golden Allocate feedback cells in an array decoupled from other slots 2019-03-11 11:20:21 +00:00
BreakableBlocks.golden [scope] Add Scope::ForEach helper to avoid recursion 2019-01-31 16:22:59 +00:00
CallAndSpread.golden Add GetIterator bytecode to load object[Symbol.iterator] in accumulator 2019-08-09 07:58:32 +00:00
CallGlobal.golden
CallLookupSlot.golden Revert recent ConsString-related changes 2019-04-18 12:24:53 +00:00
CallNew.golden
CallRuntime.golden
ClassAndSuperClass.golden Cleanup after removing language mode parameter from SetProperty 2019-01-25 10:51:10 +00:00
ClassDeclarations.golden Allocate feedback cells in an array decoupled from other slots 2019-03-11 11:20:21 +00:00
CompareNil.golden Reland "[ignition] Skip binding dead labels" 2019-02-28 14:06:15 +00:00
CompareTypeOf.golden
CompoundExpressions.golden Allocate feedback cells in an array decoupled from other slots 2019-03-11 11:20:21 +00:00
Conditional.golden
ConstVariable.golden
ConstVariableContextSlot.golden [parser] Allow declaring variables without a proxy 2019-01-25 09:10:59 +00:00
ContextParameters.golden
ContextVariables.golden Allocate feedback cells in an array decoupled from other slots 2019-03-11 11:20:21 +00:00
CountOperators.golden Allocate feedback cells in an array decoupled from other slots 2019-03-11 11:20:21 +00:00
CreateArguments.golden
CreateRestParameter.golden [parser] Iterate declarations to set initializer positions 2019-01-23 13:28:58 +00:00
DeadCodeRemoval.golden
DeclareGlobals.golden Allocate feedback cells in an array decoupled from other slots 2019-03-11 11:20:21 +00:00
Delete.golden Allocate feedback cells in an array decoupled from other slots 2019-03-11 11:20:21 +00:00
DeleteLookupSlotInEval.golden
DestructuringAssignment.golden Add GetIterator bytecode to load object[Symbol.iterator] in accumulator 2019-08-09 07:58:32 +00:00
DoDebugger.golden
Eval.golden
ForAwaitOf.golden Add GetIterator bytecode to load object[Symbol.iterator] in accumulator 2019-08-09 07:58:32 +00:00
ForIn.golden [interpreter] add JumpIfUndefinedOrNull 2019-08-08 16:44:35 +00:00
ForOf.golden Add GetIterator bytecode to load object[Symbol.iterator] in accumulator 2019-08-09 07:58:32 +00:00
ForOfLoop.golden Add GetIterator bytecode to load object[Symbol.iterator] in accumulator 2019-08-09 07:58:32 +00:00
FunctionLiterals.golden Allocate feedback cells in an array decoupled from other slots 2019-03-11 11:20:21 +00:00
GenerateTestUndetectable.golden [interpreter] Store CreateObjectLiteral's result into the accumulator. 2018-11-08 10:31:45 +00:00
Generators.golden Add GetIterator bytecode to load object[Symbol.iterator] in accumulator 2019-08-09 07:58:32 +00:00
GlobalCompoundExpressions.golden
GlobalCountOperators.golden
GlobalDelete.golden
HeapNumberConstants.golden
IfConditions.golden Reland "Optimize in operator" 2019-03-01 09:01:18 +00:00
IIFEWithOneshotOpt.golden [Compile] Move decision of whether an IIFE is oneshot into parser. 2019-01-22 15:19:39 +00:00
IIFEWithoutOneshotOpt.golden [interpreter] Store CreateObjectLiteral's result into the accumulator. 2018-11-08 10:31:45 +00:00
IntegerConstants.golden
LetVariable.golden
LetVariableContextSlot.golden [parser] Allow declaring variables without a proxy 2019-01-25 09:10:59 +00:00
LoadGlobal.golden
LogicalExpressions.golden
LookupSlot.golden Revert recent ConsString-related changes 2019-04-18 12:24:53 +00:00
LookupSlotInEval.golden
Modules.golden [scope] Add Scope::ForEach helper to avoid recursion 2019-01-31 16:22:59 +00:00
NewAndSpread.golden Add GetIterator bytecode to load object[Symbol.iterator] in accumulator 2019-08-09 07:58:32 +00:00
NewTarget.golden
ObjectLiterals.golden Allocate feedback cells in an array decoupled from other slots 2019-03-11 11:20:21 +00:00
OuterContextVariables.golden
Parameters.golden
PrimitiveExpressions.golden
PrimitiveReturnStatements.golden
PrivateAccessors.golden [class] implement private accessor declarations 2019-08-20 15:32:34 +00:00
PrivateClassFields.golden [class] Remove flags for class fields 2019-05-01 02:02:51 +00:00
PrivateMethods.golden [class] fix super access in private methods 2019-08-07 10:56:43 +00:00
PropertyCall.golden
PropertyLoads.golden
PropertyLoadStoreOneShot.golden
PropertyLoadStoreWithoutOneShot.golden [interpreter] Store CreateObjectLiteral's result into the accumulator. 2018-11-08 10:31:45 +00:00
PropertyStores.golden
PublicClassFields.golden [class] Remove flags for class fields 2019-05-01 02:02:51 +00:00
RegExpLiterals.golden
RemoveRedundantLdar.golden
StandardForLoop.golden Allocate feedback cells in an array decoupled from other slots 2019-03-11 11:20:21 +00:00
StaticClassFields.golden [class] Remove flags for class fields 2019-05-01 02:02:51 +00:00
StoreGlobal.golden
StringConcat.golden Allocate feedback cells in an array decoupled from other slots 2019-03-11 11:20:21 +00:00
StringConstants.golden
SuperCallAndSpread.golden Add GetIterator bytecode to load object[Symbol.iterator] in accumulator 2019-08-09 07:58:32 +00:00
Switch.golden
TemplateLiterals.golden Allocate feedback cells in an array decoupled from other slots 2019-03-11 11:20:21 +00:00
ThisFunction.golden
Throw.golden
TopLevelObjectLiterals.golden Allocate feedback cells in an array decoupled from other slots 2019-03-11 11:20:21 +00:00
TryCatch.golden Reland "[ignition] Skip binding dead labels" 2019-02-28 14:06:15 +00:00
TryFinally.golden
Typeof.golden
UnaryOperators.golden
WideRegisters.golden [interpreter] add JumpIfUndefinedOrNull 2019-08-08 16:44:35 +00:00
WithStatement.golden [interpreter] Store CreateObjectLiteral's result into the accumulator. 2018-11-08 10:31:45 +00:00