Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 694b93265a67b5d1042f42b74c3fbf8f9ecbb4c3..f764406d8de2e55dcf471587e319045d8162540c 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1854,6 +1854,8 @@ class JSReceiver: public HeapObject { |
MUST_USE_RESULT static inline Maybe<bool> HasOwnProperty( |
Handle<JSReceiver> object, Handle<Name> name); |
+ MUST_USE_RESULT static inline Maybe<bool> HasOwnProperty( |
+ Handle<JSReceiver> object, uint32_t index); |
MUST_USE_RESULT static inline MaybeHandle<Object> GetProperty( |
Isolate* isolate, Handle<JSReceiver> receiver, const char* key); |
@@ -1951,6 +1953,8 @@ class JSReceiver: public HeapObject { |
Handle<JSReceiver> object, Handle<Name> name); |
MUST_USE_RESULT static inline Maybe<PropertyAttributes> |
GetOwnPropertyAttributes(Handle<JSReceiver> object, Handle<Name> name); |
+ MUST_USE_RESULT static inline Maybe<PropertyAttributes> |
+ GetOwnPropertyAttributes(Handle<JSReceiver> object, uint32_t index); |
MUST_USE_RESULT static inline Maybe<PropertyAttributes> GetElementAttributes( |
Handle<JSReceiver> object, uint32_t index); |