Index: src/interpreter/bytecode-generator.h |
diff --git a/src/interpreter/bytecode-generator.h b/src/interpreter/bytecode-generator.h |
index ec282dd2bd63abed566d2b555f101bf7232e3d57..5d713efff5fe6abf57e1bd2f5bcefe0f118f3c7e 100644 |
--- a/src/interpreter/bytecode-generator.h |
+++ b/src/interpreter/bytecode-generator.h |
@@ -115,7 +115,7 @@ class BytecodeGenerator final : public AstVisitor<BytecodeGenerator> { |
void BuildThrowIfNotHole(Handle<String> name); |
void BuildThrowReassignConstant(Handle<String> name); |
void BuildThrowReferenceError(Handle<String> name); |
- void BuildHoleCheckForVariableLoad(VariableMode mode, Handle<String> name); |
+ void BuildHoleCheckForVariableLoad(Variable* variable); |
void BuildHoleCheckForVariableAssignment(Variable* variable, Token::Value op); |
// Build jump to targets[value], where |