Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index df61275d9b17d4f78e814ab50736c10502247be3..b56431754442074341bcb8acd26bf53c1f7de998 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1505,6 +1505,11 @@ class Object { |
// allow kMaxUInt32. |
inline bool ToArrayIndex(uint32_t* index); |
+ // Returns true if the result of iterating over the object is the same |
+ // (including observable effects) as simply accessing the properties between 0 |
+ // and length. |
+ bool IterationHasObservableEffects(); |
+ |
DECLARE_VERIFIER(Object) |
#ifdef VERIFY_HEAP |
// Verify a pointer is a valid object pointer. |