Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 8627364086f31dfad84e6018f5b64f32b0f4287d..bdfb11c64a75af40f761448a0d48f23524af169c 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -2130,9 +2130,10 @@ class JSReceiver: public HeapObject { |
protected: |
Smi* GenerateIdentityHash(); |
- static Handle<Object> SetPropertyWithDefinedSetter(Handle<JSReceiver> object, |
- Handle<JSReceiver> setter, |
- Handle<Object> value); |
+ MUST_USE_RESULT static MaybeHandle<Object> SetPropertyWithDefinedSetter( |
+ Handle<JSReceiver> object, |
+ Handle<JSReceiver> setter, |
+ Handle<Object> value); |
private: |
static PropertyAttributes GetPropertyAttributeForResult( |
@@ -2811,7 +2812,7 @@ class JSObject: public JSReceiver { |
Handle<JSReceiver> receiver, |
uint32_t index, |
bool continue_search); |
- static Handle<Object> SetElementWithCallback( |
+ MUST_USE_RESULT static MaybeHandle<Object> SetElementWithCallback( |
Handle<JSObject> object, |
Handle<Object> structure, |
uint32_t index, |