Index: src/full-codegen/x87/full-codegen-x87.cc |
diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc |
index 250189f86471263f732d20290418b0fa459479b1..e07a7e6ba894a24c5b24b384888aec1cc06d09af 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -1202,7 +1202,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; |