Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index eb978b968732692531bc31caed9dfbc4663edadf..f27ce21ab9dc1d76dba7d9b46fdd51e524e8a5af 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1671,6 +1671,11 @@ class JSReceiver: public HeapObject { |
MUST_USE_RESULT static inline Maybe<PropertyAttributes> |
GetOwnElementAttribute(Handle<JSReceiver> object, uint32_t index); |
+ static Handle<Object> GetDataProperty(Handle<JSReceiver> object, |
+ Handle<Name> key); |
+ static Handle<Object> GetDataProperty(LookupIterator* it); |
+ |
+ |
// Retrieves a permanent object identity hash code. The undefined value might |
// be returned in case no hash was created yet. |
inline Object* GetIdentityHash(); |
@@ -2167,10 +2172,6 @@ class JSObject: public JSReceiver { |
Handle<JSObject> object, |
AllocationSiteCreationContext* site_context); |
- static Handle<Object> GetDataProperty(Handle<JSObject> object, |
- Handle<Name> key); |
- static Handle<Object> GetDataProperty(LookupIterator* it); |
- |
DECLARE_CAST(JSObject) |
// Dispatched behavior. |