| Index: src/full-codegen/x64/full-codegen-x64.cc
|
| diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc
|
| index 0624c28288b390e1dcb93e2c3505f1b595eb1f91..d23b0b85cedf2f65069534f01d4e4f5201cf37bf 100644
|
| --- a/src/full-codegen/x64/full-codegen-x64.cc
|
| +++ b/src/full-codegen/x64/full-codegen-x64.cc
|
| @@ -1239,7 +1239,7 @@ void FullCodeGenerator::EmitVariableLoad(VariableProxy* proxy,
|
| DCHECK_EQ(NOT_INSIDE_TYPEOF, typeof_mode);
|
| Comment cmnt(masm_, var->IsContextSlot() ? "[ Context slot"
|
| : "[ Stack slot");
|
| - if (NeedsHoleCheckForLoad(proxy)) {
|
| + if (proxy->needs_hole_check()) {
|
| // Throw a reference error when using an uninitialized let/const
|
| // binding in harmony mode.
|
| DCHECK(IsLexicalVariableMode(var->mode()));
|
|
|