| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index dc5b56e8c0af18e0b246bfc6acec5aaf26648b4d..4b99215e05347207b5c17c9d9f93cc754fb82d23 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -1176,9 +1176,6 @@ class Object {
|
| MUST_USE_RESULT static MaybeHandle<Object> WriteToReadOnlyProperty(
|
| Isolate* isolate, Handle<Object> reciever, Handle<Object> name,
|
| Handle<Object> value, LanguageMode language_mode);
|
| - MUST_USE_RESULT static MaybeHandle<Object> WriteToReadOnlyElement(
|
| - Isolate* isolate, Handle<Object> receiver, uint32_t index,
|
| - Handle<Object> value, LanguageMode language_mode);
|
| MUST_USE_RESULT static MaybeHandle<Object> RedefineNonconfigurableProperty(
|
| Isolate* isolate, Handle<Object> name, Handle<Object> value,
|
| LanguageMode language_mode);
|
| @@ -1845,6 +1842,13 @@ class JSObject: public JSReceiver {
|
| // grant an exemption to ExecutableAccessor callbacks in some cases.
|
| enum ExecutableAccessorInfoHandling { DEFAULT_HANDLING, DONT_FORCE_FIELD };
|
|
|
| + // Calls SetOwn[Property|Element]IgnoreAttributes depending on whether name is
|
| + // convertible to an index.
|
| + MUST_USE_RESULT static inline MaybeHandle<Object> DefinePropertyOrElement(
|
| + Handle<JSObject> object, Handle<Name> name, Handle<Object> value,
|
| + PropertyAttributes attributes = NONE,
|
| + ExecutableAccessorInfoHandling handling = DEFAULT_HANDLING);
|
| +
|
| MUST_USE_RESULT static MaybeHandle<Object> SetOwnPropertyIgnoreAttributes(
|
| Handle<JSObject> object, Handle<Name> name, Handle<Object> value,
|
| PropertyAttributes attributes,
|
| @@ -4052,7 +4056,7 @@ class ScopeInfo : public FixedArray {
|
| FunctionKind function_kind();
|
|
|
| // Copies all the context locals into an object used to materialize a scope.
|
| - static bool CopyContextLocalsToScopeObject(Handle<ScopeInfo> scope_info,
|
| + static void CopyContextLocalsToScopeObject(Handle<ScopeInfo> scope_info,
|
| Handle<Context> context,
|
| Handle<JSObject> scope_object);
|
|
|
|
|