Index: src/elements.h |
diff --git a/src/elements.h b/src/elements.h |
index 76b2b0ebfbbaed670c04499c74836edfdb36a5b4..ea06b6bc9fd47d4d841e150f9a19a824f3338c0b 100644 |
--- a/src/elements.h |
+++ b/src/elements.h |
@@ -145,7 +145,7 @@ class ElementsAccessor { |
// changing array sizes as defined in EcmaScript 5.1 15.4.5.2, i.e. array that |
// have non-deletable elements can only be shrunk to the size of highest |
// element that is non-deletable. |
- MUST_USE_RESULT virtual Handle<Object> SetLength( |
+ MUST_USE_RESULT virtual MaybeHandle<Object> SetLength( |
Handle<JSArray> holder, |
Handle<Object> new_length) = 0; |
@@ -257,8 +257,9 @@ class ElementsAccessor { |
void CheckArrayAbuse(Handle<JSObject> obj, const char* op, uint32_t key, |
bool allow_appending = false); |
-Handle<Object> ArrayConstructInitializeElements(Handle<JSArray> array, |
- Arguments* args); |
+MUST_USE_RESULT MaybeHandle<Object> ArrayConstructInitializeElements( |
+ Handle<JSArray> array, |
+ Arguments* args); |
} } // namespace v8::internal |