| Index: src/full-codegen/ia32/full-codegen-ia32.cc
|
| diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc
|
| index d704053f7ba6f4ae4df97dbb6986a82b677538c0..d6a99200c79a26c21fd8576438a5b2551919a548 100644
|
| --- a/src/full-codegen/ia32/full-codegen-ia32.cc
|
| +++ b/src/full-codegen/ia32/full-codegen-ia32.cc
|
| @@ -1210,7 +1210,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;
|
|
|