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 64a6658553e5da1fc1ffb0887e9f993d8b43c6d0..0a9716f8fc5d3ca85a1399dfff263a20a84c4139 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; |