Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index be4bb8af58993db6cac7aacc50f330b5c941656a..04b7ebd0e6842c36d237472a1fb1e945fc3bfd2a 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -1287,7 +1287,7 @@ void FullCodeGenerator::EmitVariableLoad(VariableProxy* proxy, |
DCHECK_EQ(NOT_INSIDE_TYPEOF, typeof_mode); |
Comment cmnt(masm_, var->IsContextSlot() ? "[ Context variable" |
: "[ Stack variable"); |
- if (NeedsHoleCheckForLoad(proxy)) { |
+ if (proxy->needs_hole_check()) { |
// Throw a reference error when using an uninitialized let/const |
// binding in harmony mode. |
Label done; |