Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 391be1b4ef30cb863e567aa7d52999a321c8353b..8870accc489dafc7231c19db8065c408c255becf 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1843,6 +1843,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); |
@@ -1940,6 +1942,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); |