Index: src/lookup.cc |
diff --git a/src/lookup.cc b/src/lookup.cc |
index 98aab68c6d94e345f7925cdf5d5a086b669cbf9d..a99856f8dedb0b0a5cc7904005890a981018cf97 100644 |
--- a/src/lookup.cc |
+++ b/src/lookup.cc |
@@ -194,6 +194,11 @@ void LookupIterator::InternalUpdateProtector() { |
} else if (*name_ == heap()->has_instance_symbol()) { |
if (!isolate_->IsHasInstanceLookupChainIntact()) return; |
isolate_->InvalidateHasInstanceProtector(); |
+ } else if (*name_ == heap()->iterator_symbol()) { |
+ if (!isolate_->IsArrayIteratorLookupChainIntact()) return; |
+ if (holder_->IsJSArray()) { |
+ isolate_->InvalidateArrayIteratorProtector(); |
+ } |
} |
} |