| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 285280b68b753d6a12b8458876f172ded27c1a63..2795273c869da7394ee36935b8ecb80912505a20 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -12166,26 +12166,6 @@ void JSObject::EnsureCanContainElements(Handle<JSObject> object,
|
| }
|
|
|
|
|
| -MaybeHandle<AccessorPair> JSObject::GetOwnPropertyAccessorPair(
|
| - Handle<JSObject> object,
|
| - Handle<Name> name) {
|
| - uint32_t index = 0;
|
| - if (name->AsArrayIndex(&index)) {
|
| - return GetOwnElementAccessorPair(object, index);
|
| - }
|
| -
|
| - Isolate* isolate = object->GetIsolate();
|
| - LookupResult lookup(isolate);
|
| - object->LookupOwnRealNamedProperty(name, &lookup);
|
| -
|
| - if (lookup.IsPropertyCallbacks() &&
|
| - lookup.GetCallbackObject()->IsAccessorPair()) {
|
| - return handle(AccessorPair::cast(lookup.GetCallbackObject()), isolate);
|
| - }
|
| - return MaybeHandle<AccessorPair>();
|
| -}
|
| -
|
| -
|
| MaybeHandle<AccessorPair> JSObject::GetOwnElementAccessorPair(
|
| Handle<JSObject> object,
|
| uint32_t index) {
|
|
|