Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index bc683058bf06098aea9655da68db00621e03c4d5..568e5396ccf84c223b4d2c50d4448057c2007943 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -2298,9 +2298,8 @@ class JSObject: public JSReceiver { |
// Returns true if the object has a property with the hidden string as name. |
bool HasHiddenProperties(); |
- static int GetIdentityHash(Handle<JSObject> obj); |
- MUST_USE_RESULT MaybeObject* GetIdentityHash(CreationFlag flag); |
- MUST_USE_RESULT MaybeObject* SetIdentityHash(Smi* hash, CreationFlag flag); |
+ static int GetIdentityHash(Handle<JSObject> object); |
+ static void SetIdentityHash(Handle<JSObject> object, Smi* hash); |
inline void ValidateElements(); |
@@ -2847,6 +2846,8 @@ class JSObject: public JSReceiver { |
MUST_USE_RESULT MaybeObject* SetHiddenPropertiesHashTable( |
Object* value); |
+ MUST_USE_RESULT MaybeObject* GetIdentityHash(CreationFlag flag); |
+ |
DISALLOW_IMPLICIT_CONSTRUCTORS(JSObject); |
}; |
@@ -9105,8 +9106,6 @@ class JSProxy: public JSReceiver { |
JSReceiver* receiver, |
uint32_t index); |
- MUST_USE_RESULT MaybeObject* GetIdentityHash(CreationFlag flag); |
- |
// Turn this into an (empty) JSObject. |
void Fix(); |
@@ -9156,6 +9155,8 @@ class JSProxy: public JSReceiver { |
uint32_t index, |
DeleteMode mode); |
+ MUST_USE_RESULT MaybeObject* GetIdentityHash(CreationFlag flag); |
+ |
DISALLOW_IMPLICIT_CONSTRUCTORS(JSProxy); |
}; |