Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 0dc5e3a22f5d2b732c8557c81b395ab72dd962e4..ac50ab243989f281c09d259ef4bf2268dd2aeaea 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -3545,6 +3545,10 @@ class Dictionary: public HashTable<Derived, Shape, Key> { |
// Returns the number of enumerable elements in the dictionary. |
int NumberOfEnumElements(); |
+ // Returns true if the dictionary contains any elements that are non-writable, |
+ // non-configurable, or have getters/setters. |
+ bool HasComplexElements(); |
+ |
enum SortMode { UNSORTED, SORTED }; |
// Copies keys to preallocated fixed array. |
void CopyKeysTo(FixedArray* storage, |