Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 12eba2ba25f4468a172436daf03d85ac8a252f10..507c7b61e23654c71766a7a3edac486c1c15c4d3 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1229,6 +1229,10 @@ class Object { |
Isolate* isolate, Handle<Object> object, uint32_t index, |
LanguageMode language_mode = SLOPPY); |
+ MUST_USE_RESULT static inline MaybeHandle<Object> SetElement( |
+ Isolate* isolate, Handle<Object> object, uint32_t index, |
+ Handle<Object> value, LanguageMode language_mode); |
+ |
static inline Handle<Object> GetPrototypeSkipHiddenPrototypes( |
Isolate* isolate, Handle<Object> receiver); |
@@ -1671,10 +1675,6 @@ class JSReceiver: public HeapObject { |
public: |
DECLARE_CAST(JSReceiver) |
- MUST_USE_RESULT static MaybeHandle<Object> SetElement( |
- Handle<JSReceiver> object, uint32_t index, Handle<Object> value, |
- LanguageMode language_mode); |
- |
// Implementation of [[HasProperty]], ECMA-262 5th edition, section 8.12.6. |
MUST_USE_RESULT static inline Maybe<bool> HasProperty( |
Handle<JSReceiver> object, Handle<Name> name); |