Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 6fc434cbae45cbbd6ecb7007e767b7cfa092e84f..04d3cc78ab3ced0418b46ec429c8ad608d364e25 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -5346,8 +5346,7 @@ void HOptimizedGraphBuilder::VisitVariableProxy(VariableProxy* expr) { |
} |
} |
- LookupIterator it(global, variable->name(), |
- LookupIterator::OWN_SKIP_INTERCEPTOR); |
+ LookupIterator it(global, variable->name(), LookupIterator::OWN); |
GlobalPropertyAccess type = LookupGlobalProperty(variable, &it, LOAD); |
if (type == kUseCell) { |
@@ -6510,7 +6509,7 @@ void HOptimizedGraphBuilder::HandleGlobalVariableAssignment( |
} |
} |
- LookupIterator it(global, var->name(), LookupIterator::OWN_SKIP_INTERCEPTOR); |
+ LookupIterator it(global, var->name(), LookupIterator::OWN); |
GlobalPropertyAccess type = LookupGlobalProperty(var, &it, STORE); |
if (type == kUseCell) { |
Handle<PropertyCell> cell = it.GetPropertyCell(); |