Index: src/full-codegen/arm64/full-codegen-arm64.cc |
diff --git a/src/full-codegen/arm64/full-codegen-arm64.cc b/src/full-codegen/arm64/full-codegen-arm64.cc |
index 364b461d8fc1915f9bb94be5fcf9bdd020da3261..4ed88b4e6fd630cd78806157178ac94d68716413 100644 |
--- a/src/full-codegen/arm64/full-codegen-arm64.cc |
+++ b/src/full-codegen/arm64/full-codegen-arm64.cc |
@@ -1275,7 +1275,7 @@ void FullCodeGenerator::EmitVariableLoad(VariableProxy* proxy, |
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; |