| Index: src/interpreter/bytecode-generator.h
|
| diff --git a/src/interpreter/bytecode-generator.h b/src/interpreter/bytecode-generator.h
|
| index be4ca82e36409268f9f041bcf9aa755c7517bc71..734b8dea2a31f82d102e55de78699e75398245d0 100644
|
| --- a/src/interpreter/bytecode-generator.h
|
| +++ b/src/interpreter/bytecode-generator.h
|
| @@ -78,6 +78,11 @@ class BytecodeGenerator final : public AstVisitor {
|
|
|
| void VisitArgumentsObject(Variable* variable);
|
| void VisitRestArgumentsArray(Variable* rest, int index);
|
| + void VisitClassLiteralContents(ClassLiteral* expr);
|
| + void VisitClassLiteralForRuntimeDefinition(ClassLiteral* expr);
|
| + void VisitClassLiteralProperties(ClassLiteral* expr, Register literal,
|
| + Register prototype);
|
| + void VisitClassLiteralStaticPrototypeWithComputedName(Register name);
|
| void VisitThisFunctionVariable(Variable* variable);
|
| void VisitNewTargetVariable(Variable* variable);
|
| void VisitNewLocalFunctionContext();
|
| @@ -99,9 +104,10 @@ class BytecodeGenerator final : public AstVisitor {
|
|
|
| // Visitors for obtaining expression result in the accumulator, in a
|
| // register, or just getting the effect.
|
| - void VisitForAccumulatorValue(Expression* expression);
|
| - MUST_USE_RESULT Register VisitForRegisterValue(Expression* expression);
|
| - void VisitForEffect(Expression* node);
|
| + void VisitForAccumulatorValue(Expression* expr);
|
| + void VisitForAccumulatorValueOrTheHole(Expression* expr);
|
| + MUST_USE_RESULT Register VisitForRegisterValue(Expression* expr);
|
| + void VisitForEffect(Expression* expr);
|
|
|
| // Methods for tracking and remapping register.
|
| void RecordStoreToRegister(Register reg);
|
|
|