Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 120ca988431a99dde0471883cd51b172573e77d6..30a6db39edcb6157b192968fb2230efd646cec63 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -1173,6 +1173,14 @@ MaybeHandle<Object> Object::GetElement(Isolate* isolate, Handle<Object> object, |
} |
+MaybeHandle<Object> Object::SetElement(Isolate* isolate, Handle<Object> object, |
+ uint32_t index, Handle<Object> value, |
+ LanguageMode language_mode) { |
+ LookupIterator it(isolate, object, index); |
+ return SetProperty(&it, value, language_mode, MAY_BE_STORE_FROM_KEYED); |
+} |
+ |
+ |
Handle<Object> Object::GetPrototypeSkipHiddenPrototypes( |
Isolate* isolate, Handle<Object> receiver) { |
PrototypeIterator iter(isolate, receiver); |