Index: src/interpreter/bytecode-generator.h |
diff --git a/src/interpreter/bytecode-generator.h b/src/interpreter/bytecode-generator.h |
index 9fd4da63da00502cfe2901fa60618593db51d342..190160b7d1952b350f0c4c63cfb75127607a54f5 100644 |
--- a/src/interpreter/bytecode-generator.h |
+++ b/src/interpreter/bytecode-generator.h |
@@ -78,9 +78,11 @@ class BytecodeGenerator final : public AstVisitor { |
TypeofMode typeof_mode = NOT_INSIDE_TYPEOF); |
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 BuildThrowReferenceError(Handle<String> name); |
void BuildHoleCheckForVariableLoad(VariableMode mode, Handle<String> name); |
void BuildHoleCheckForVariableAssignment(Variable* variable, Token::Value op); |