Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 6fe52c35c9f94f7ba5869d4a2c68d7a18b9e62e3..b4110fe18fa0a3882bccab2fd2c462c5be8d9631 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1126,8 +1126,8 @@ class Object { |
StorePropertyMode data_store_mode = NORMAL_PROPERTY); |
MUST_USE_RESULT static MaybeHandle<Object> WriteToReadOnlyProperty( |
LookupIterator* it, Handle<Object> value, StrictMode strict_mode); |
- static Handle<Object> SetDataProperty(LookupIterator* it, |
- Handle<Object> value); |
+ MUST_USE_RESULT static MaybeHandle<Object> SetDataProperty( |
+ LookupIterator* it, Handle<Object> value); |
MUST_USE_RESULT static MaybeHandle<Object> AddDataProperty( |
LookupIterator* it, Handle<Object> value, PropertyAttributes attributes, |
StrictMode strict_mode, StoreFromKeyed store_mode); |
@@ -2211,10 +2211,9 @@ class JSObject: public JSReceiver { |
Context* GetCreationContext(); |
// Enqueue change record for Object.observe. May cause GC. |
- static void EnqueueChangeRecord(Handle<JSObject> object, |
- const char* type, |
- Handle<Name> name, |
- Handle<Object> old_value); |
+ MUST_USE_RESULT static MaybeHandle<Object> EnqueueChangeRecord( |
+ Handle<JSObject> object, const char* type, Handle<Name> name, |
+ Handle<Object> old_value); |
private: |
friend class DictionaryElementsAccessor; |