| Index: src/interpreter/bytecode-generator.h
|
| diff --git a/src/interpreter/bytecode-generator.h b/src/interpreter/bytecode-generator.h
|
| index 0bcc9d954d92e5e14290df00e08fdc0d7c685bff..a591df0720219b93b262e132c904b3b5654a2aa2 100644
|
| --- a/src/interpreter/bytecode-generator.h
|
| +++ b/src/interpreter/bytecode-generator.h
|
| @@ -76,7 +76,13 @@ class BytecodeGenerator final : public AstVisitor {
|
| MUST_USE_RESULT Register
|
| VisitVariableLoadForRegisterValue(Variable* variable, FeedbackVectorSlot slot,
|
| TypeofMode typeof_mode = NOT_INSIDE_TYPEOF);
|
| - void VisitVariableAssignment(Variable* variable, FeedbackVectorSlot slot);
|
| + void VisitVariableAssignment(Variable* variable, Token::Value op,
|
| + FeedbackVectorSlot slot);
|
| + void BuildThrowIfHole(Handle<String> name);
|
| + void BuildThrowIfNotHole(Handle<String> name);
|
| + void BuildThrowReassignConstant(Handle<String> name);
|
| + void BuildHoleCheckForVariableLoad(VariableMode mode, Handle<String> name);
|
| + void BuildHoleCheckForVariableAssignment(Variable* variable, Token::Value op);
|
|
|
| void VisitArgumentsObject(Variable* variable);
|
| void VisitRestArgumentsArray(Variable* rest, int index);
|
|
|