Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index d642e1e7da88b4f57bf49f79b485031f771a1ef3..1dcb4ee1e642d0ffc5da355b9e09adddcd4d7252 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -10337,6 +10337,10 @@ class JSArray: public JSObject { |
uint32_t index, |
Handle<Object> value); |
+ static bool IsReadOnlyLengthDescriptor(Handle<Map> jsarray_map); |
+ static bool WouldChangeReadOnlyLength(Handle<JSArray> array, uint32_t index); |
+ static MaybeHandle<Object> ReadOnlyLengthError(Handle<JSArray> array); |
+ |
// Initialize the array with the given capacity. The function may |
// fail due to out-of-memory situations, but only if the requested |
// capacity is non-zero. |