| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index d1e5acff893d65b008606969db7241a873602656..960df390e1fabc10fbf6ecba987dd1d4fb630af0 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -1113,7 +1113,7 @@ class Object {
|
| Handle<Context> context);
|
|
|
| // Converts this to a Smi if possible.
|
| - static MUST_USE_RESULT inline MaybeHandle<Smi> ToSmi(Isolate* isolate,
|
| + MUST_USE_RESULT static inline MaybeHandle<Smi> ToSmi(Isolate* isolate,
|
| Handle<Object> object);
|
|
|
| MUST_USE_RESULT static MaybeHandle<Object> GetProperty(LookupIterator* it);
|
| @@ -1938,12 +1938,14 @@ class JSObject: public JSReceiver {
|
| StrictMode strict_mode,
|
| bool check_prototype);
|
|
|
| - MUST_USE_RESULT static MaybeHandle<Object> SetOwnElement(
|
| - Handle<JSObject> object,
|
| - uint32_t index,
|
| - Handle<Object> value,
|
| + MUST_USE_RESULT static inline MaybeHandle<Object> SetOwnElement(
|
| + Handle<JSObject> object, uint32_t index, Handle<Object> value,
|
| StrictMode strict_mode);
|
|
|
| + MUST_USE_RESULT static MaybeHandle<Object> SetOwnElement(
|
| + Handle<JSObject> object, uint32_t index, Handle<Object> value,
|
| + PropertyAttributes attributes, StrictMode strict_mode);
|
| +
|
| // Empty handle is returned if the element cannot be set to the given value.
|
| MUST_USE_RESULT static MaybeHandle<Object> SetElement(
|
| Handle<JSObject> object,
|
|
|