| 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 a9b9ec24c99dc881899511f8270643deea5ba946..42314f6854ce4d7e33b550bb01a38854b8d1dcdb 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;
|
|
|