Index: src/interpreter/bytecode-generator.h |
diff --git a/src/interpreter/bytecode-generator.h b/src/interpreter/bytecode-generator.h |
index af0ac1920ea71c76fcca2bc0deb05376d5958120..db21c6b773ddcff39115960e7bfaf273004163cd 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); |