Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index cafa49705e34bb2cb29147d4c82e861ff4577290..929c6ca9b3d50f20162571d9220adc7a5477cba8 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1933,7 +1933,8 @@ class JSReceiver: public HeapObject { |
// Retrieves a permanent object identity hash code. The undefined value might |
// be returned in case no hash was created yet. |
- inline Object* GetIdentityHash(); |
+ static inline Handle<Object> GetIdentityHash(Isolate* isolate, |
+ Handle<JSReceiver> object); |
// Retrieves a permanent object identity hash code. May create and store a |
// hash code if needed and none exists. |
@@ -2526,7 +2527,8 @@ class JSObject: public JSReceiver { |
Handle<JSObject> object, |
Handle<Object> value); |
- MUST_USE_RESULT Object* GetIdentityHash(); |
+ static Handle<Object> GetIdentityHash(Isolate* isolate, |
+ Handle<JSObject> object); |
static Handle<Smi> GetOrCreateIdentityHash(Handle<JSObject> object); |
@@ -9801,7 +9803,8 @@ class JSProxy: public JSReceiver { |
typedef FixedBodyDescriptor<JSReceiver::kPropertiesOffset, kSize, kSize> |
BodyDescriptor; |
- MUST_USE_RESULT Object* GetIdentityHash(); |
+ static Handle<Object> GetIdentityHash(Isolate* isolate, |
+ Handle<JSProxy> receiver); |
static Handle<Smi> GetOrCreateIdentityHash(Handle<JSProxy> proxy); |