| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index 3b336dfb3ebfa32438f20a342b17f3ff80625397..cb787374c81378898ba0f13c204776fa6b719eae 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -7249,19 +7249,20 @@ bool JSGlobalProxy::IsDetachedFrom(JSGlobalObject* global) const {
|
| return iter.GetCurrent() != global;
|
| }
|
|
|
| -
|
| -Handle<Smi> JSReceiver::GetOrCreateIdentityHash(Handle<JSReceiver> object) {
|
| - return object->IsJSProxy()
|
| - ? JSProxy::GetOrCreateIdentityHash(Handle<JSProxy>::cast(object))
|
| - : JSObject::GetOrCreateIdentityHash(Handle<JSObject>::cast(object));
|
| -}
|
| -
|
| -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));
|
| +Smi* JSReceiver::GetOrCreateIdentityHash(Isolate* isolate,
|
| + Handle<JSReceiver> object) {
|
| + return object->IsJSProxy() ? JSProxy::GetOrCreateIdentityHash(
|
| + isolate, Handle<JSProxy>::cast(object))
|
| + : JSObject::GetOrCreateIdentityHash(
|
| + isolate, Handle<JSObject>::cast(object));
|
| +}
|
| +
|
| +Object* JSReceiver::GetIdentityHash(Isolate* isolate,
|
| + Handle<JSReceiver> receiver) {
|
| + return receiver->IsJSProxy()
|
| + ? JSProxy::GetIdentityHash(Handle<JSProxy>::cast(receiver))
|
| + : JSObject::GetIdentityHash(isolate,
|
| + Handle<JSObject>::cast(receiver));
|
| }
|
|
|
|
|
|
|