Index: src/isolate.h |
diff --git a/src/isolate.h b/src/isolate.h |
index 22888fc7f2e90e1b07a380208a79a27689402bc7..1d4258d3eb033913887462fa42cfa09aaff78379 100644 |
--- a/src/isolate.h |
+++ b/src/isolate.h |
@@ -995,6 +995,9 @@ class Isolate { |
bool IsIsConcatSpreadableLookupChainIntact(JSReceiver* receiver); |
inline bool IsStringLengthOverflowIntact(); |
+ // Avoid deopt loops if fast Array Iterators migrate to slow Array Iterators. |
+ inline bool CanInlineArrayIterator(); |
+ |
// On intent to set an element in object, make sure that appropriate |
// notifications occur if the set is on the elements of the array or |
// object prototype. Also ensure that changes to prototype chain between |
@@ -1013,6 +1016,7 @@ class Isolate { |
void InvalidateHasInstanceProtector(); |
void InvalidateIsConcatSpreadableProtector(); |
void InvalidateStringLengthOverflowProtector(); |
+ void InvalidateArrayIteratorProtector(); |
// Returns true if array is the initial array prototype in any native context. |
bool IsAnyInitialArrayPrototype(Handle<JSArray> array); |