| Index: src/interpreter/bytecode-generator.h
|
| diff --git a/src/interpreter/bytecode-generator.h b/src/interpreter/bytecode-generator.h
|
| index a4b9caba0fbf39fcec094b93a35cb8d7da33c7a1..d07b42391584c59dfa2f5e9641b287107eae2f29 100644
|
| --- a/src/interpreter/bytecode-generator.h
|
| +++ b/src/interpreter/bytecode-generator.h
|
| @@ -81,6 +81,7 @@ class BytecodeGenerator final : public AstVisitor {
|
| void VisitBuildLocalActivationContext();
|
| void VisitBlockDeclarationsAndStatements(Block* stmt);
|
| void VisitNewLocalBlockContext(Scope* scope);
|
| + void VisitNewLocalCatchContext(Variable* variable);
|
| void VisitFunctionClosureForContext();
|
| void VisitSetHomeObject(Register value, Register home_object,
|
| ObjectLiteralProperty* property, int slot_number = 0);
|
| @@ -89,6 +90,9 @@ class BytecodeGenerator final : public AstVisitor {
|
| Register value_out);
|
| void VisitForInAssignment(Expression* expr, FeedbackVectorSlot slot);
|
|
|
| + // Visit a statement and switch scopes, the context is in the accumulator.
|
| + void VisitInScope(Statement* stmt, Scope* scope);
|
| +
|
| // Visitors for obtaining expression result in the accumulator, in a
|
| // register, or just getting the effect.
|
| void VisitForAccumulatorValue(Expression* expression);
|
|
|