Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 0e0c808f2f628f3373d0823cf996fac472a9eab4..2a6c24bec79d50dc556ff875c05d0b23b37bbe2b 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -6281,13 +6281,12 @@ bool JSReceiver::HasProperty(Handle<JSReceiver> object, |
} |
-bool JSReceiver::HasLocalProperty(Handle<JSReceiver> object, |
- Handle<Name> name) { |
+bool JSReceiver::HasOwnProperty(Handle<JSReceiver> object, Handle<Name> name) { |
if (object->IsJSProxy()) { |
Handle<JSProxy> proxy = Handle<JSProxy>::cast(object); |
return JSProxy::HasPropertyWithHandler(proxy, name); |
} |
- return GetLocalPropertyAttribute(object, name) != ABSENT; |
+ return GetOwnPropertyAttribute(object, name) != ABSENT; |
} |
@@ -6346,7 +6345,7 @@ bool JSReceiver::HasElement(Handle<JSReceiver> object, uint32_t index) { |
} |
-bool JSReceiver::HasLocalElement(Handle<JSReceiver> object, uint32_t index) { |
+bool JSReceiver::HasOwnElement(Handle<JSReceiver> object, uint32_t index) { |
if (object->IsJSProxy()) { |
Handle<JSProxy> proxy = Handle<JSProxy>::cast(object); |
return JSProxy::HasElementWithHandler(proxy, index); |
@@ -6356,7 +6355,7 @@ bool JSReceiver::HasLocalElement(Handle<JSReceiver> object, uint32_t index) { |
} |
-PropertyAttributes JSReceiver::GetLocalElementAttribute( |
+PropertyAttributes JSReceiver::GetOwnElementAttribute( |
Handle<JSReceiver> object, uint32_t index) { |
if (object->IsJSProxy()) { |
return JSProxy::GetElementAttributeWithHandler( |