Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 86169cab1eda66a0b9f49a3ab4fa640f48f7d40b..3d453c2679b7a933ddfdd5694a5eefa9a86012b1 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -7110,11 +7110,12 @@ Handle<Smi> JSReceiver::GetOrCreateIdentityHash(Handle<JSReceiver> object) { |
: JSObject::GetOrCreateIdentityHash(Handle<JSObject>::cast(object)); |
} |
- |
-Object* JSReceiver::GetIdentityHash() { |
- return IsJSProxy() |
- ? JSProxy::cast(this)->GetIdentityHash() |
- : JSObject::cast(this)->GetIdentityHash(); |
+Handle<Object> JSReceiver::GetIdentityHash(Isolate* isolate, |
+ Handle<JSReceiver> receiver) { |
+ return receiver->IsJSProxy() ? JSProxy::GetIdentityHash( |
+ isolate, Handle<JSProxy>::cast(receiver)) |
+ : JSObject::GetIdentityHash( |
+ isolate, Handle<JSObject>::cast(receiver)); |
} |