| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 759e1c266671acb72e40898efdefd5a5c9986ed8..9cf998c567a616258101aa5f47a70e1ea11a6b16 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -2103,8 +2103,9 @@ class JSObject: public JSReceiver {
|
|
|
| // Adds or reconfigures a property to attributes NONE. It will fail when it
|
| // cannot.
|
| - MUST_USE_RESULT static Maybe<bool> CreateDataProperty(LookupIterator* it,
|
| - Handle<Object> value);
|
| + MUST_USE_RESULT static Maybe<bool> CreateDataProperty(
|
| + LookupIterator* it, Handle<Object> value,
|
| + ShouldThrow should_throw = DONT_THROW);
|
|
|
| static void AddProperty(Handle<JSObject> object, Handle<Name> name,
|
| Handle<Object> value, PropertyAttributes attributes);
|
|
|