Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index d4a1f702b96910bf3580f076ce5519b65b512c46..54f9a5d1f1cc46fbeaf9cad93c7560922612c22f 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -10240,8 +10240,9 @@ class JSArray: public JSObject { |
// Initializes the array to a certain length. |
inline bool AllowsSetElementsLength(); |
// Can cause GC. |
- static Handle<Object> SetElementsLength(Handle<JSArray> array, |
- Handle<Object> length); |
+ MUST_USE_RESULT static MaybeHandle<Object> SetElementsLength( |
+ Handle<JSArray> array, |
+ Handle<Object> length); |
// Set the content of the array to the content of storage. |
static inline void SetContent(Handle<JSArray> array, |