Index: src/isolate.h |
diff --git a/src/isolate.h b/src/isolate.h |
index a434edd440c68c4b9d48d93c07a2a16aa9ec344d..cbe30dc14e5ce14490f68eaf635451f1204d835a 100644 |
--- a/src/isolate.h |
+++ b/src/isolate.h |
@@ -1015,6 +1015,21 @@ |
Map* get_initial_js_array_map(ElementsKind kind); |
bool IsFastArrayConstructorPrototypeChainIntact(); |
+ |
+ // 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 |
+ // Array and Object fire notifications. |
+ void UpdateArrayProtectorOnSetElement(Handle<JSObject> object); |
+ void UpdateArrayProtectorOnSetPrototype(Handle<JSObject> object) { |
+ UpdateArrayProtectorOnSetElement(object); |
+ } |
+ void UpdateArrayProtectorOnNormalizeElements(Handle<JSObject> object) { |
+ UpdateArrayProtectorOnSetElement(object); |
+ } |
+ |
+ // Returns true if array is the initial array prototype in any native context. |
+ bool IsAnyInitialArrayPrototype(Handle<JSArray> array); |
CallInterfaceDescriptorData* call_descriptor_data(int index); |