Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index be0fb6df12af30867c515782b5d6ab5979722a0d..79ae57356121a3352149120eb02ecb025510fb70 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -12332,16 +12332,6 @@ void JSObject::ValidateElements(Handle<JSObject> object) { |
} |
-// static |
-MaybeHandle<Object> JSReceiver::SetElement(Handle<JSReceiver> object, |
- uint32_t index, Handle<Object> value, |
- LanguageMode language_mode) { |
- Isolate* isolate = object->GetIsolate(); |
- LookupIterator it(isolate, object, index); |
- return SetProperty(&it, value, language_mode, MAY_BE_STORE_FROM_KEYED); |
-} |
- |
- |
static bool ShouldConvertToSlowElements(JSObject* object, uint32_t capacity, |
uint32_t index, |
uint32_t* new_capacity) { |