Index: src/full-codegen/ppc/full-codegen-ppc.cc |
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc |
index c450929b712ea65c22515e257861c959b17502e8..6778fbd2990e6caf16778c0692dfd5a65e0ba4a5 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -1257,7 +1257,7 @@ void FullCodeGenerator::EmitVariableLoad(VariableProxy* proxy, |
DCHECK_EQ(NOT_INSIDE_TYPEOF, typeof_mode); |
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; |