| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 948246f2e41beb1d4f8cab114013707ce436c80a..45cb8de27d363b71abf20ef4613797a52cfdc193 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -2466,8 +2466,12 @@ class JSObject: public JSReceiver {
|
| }
|
|
|
| // These methods do not perform access checks!
|
| - AccessorPair* GetLocalPropertyAccessorPair(Name* name);
|
| - AccessorPair* GetLocalElementAccessorPair(uint32_t index);
|
| + MUST_USE_RESULT static MaybeHandle<AccessorPair> GetLocalPropertyAccessorPair(
|
| + Handle<JSObject> object,
|
| + Handle<Name> name);
|
| + MUST_USE_RESULT static MaybeHandle<AccessorPair> GetLocalElementAccessorPair(
|
| + Handle<JSObject> object,
|
| + uint32_t index);
|
|
|
| static Handle<Object> SetFastElement(Handle<JSObject> object, uint32_t index,
|
| Handle<Object> value,
|
|
|