| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 792b6d9843e6166799278518f99c4adde22c61b7..ac1db44cb2497a3a9ea7afff29c4fd74952702af 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -264,17 +264,6 @@ MaybeObject* JSProxy::GetElementWithHandler(Object* receiver,
|
| }
|
|
|
|
|
| -MaybeObject* JSProxy::SetElementWithHandler(JSReceiver* receiver,
|
| - uint32_t index,
|
| - Object* value,
|
| - StrictModeFlag strict_mode) {
|
| - String* name;
|
| - MaybeObject* maybe = GetHeap()->Uint32ToString(index);
|
| - if (!maybe->To<String>(&name)) return maybe;
|
| - return SetPropertyWithHandler(receiver, name, value, NONE, strict_mode);
|
| -}
|
| -
|
| -
|
| bool JSProxy::HasElementWithHandler(uint32_t index) {
|
| String* name;
|
| MaybeObject* maybe = GetHeap()->Uint32ToString(index);
|
| @@ -9856,21 +9845,6 @@ MUST_USE_RESULT MaybeObject* JSObject::SetFastDoubleElement(
|
| }
|
|
|
|
|
| -MaybeObject* JSReceiver::SetElement(uint32_t index,
|
| - Object* value,
|
| - PropertyAttributes attributes,
|
| - StrictModeFlag strict_mode,
|
| - bool check_proto) {
|
| - if (IsJSProxy()) {
|
| - return JSProxy::cast(this)->SetElementWithHandler(
|
| - this, index, value, strict_mode);
|
| - } else {
|
| - return JSObject::cast(this)->SetElement(
|
| - index, value, attributes, strict_mode, check_proto);
|
| - }
|
| -}
|
| -
|
| -
|
| Handle<Object> JSObject::SetOwnElement(Handle<JSObject> object,
|
| uint32_t index,
|
| Handle<Object> value,
|
|
|