| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index a63ac6c4449c69d6b1b78e70f9ab625b8145c81d..4dc536f7c82d3957f88113a5831b044c21c1d5e7 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -4315,42 +4315,6 @@ MaybeObject* JSReceiver::GetIdentityHash(CreationFlag flag) {
|
| }
|
|
|
|
|
| -bool JSObject::HasHiddenPropertiesObject() {
|
| - ASSERT(!IsJSGlobalProxy());
|
| - return GetPropertyAttributePostInterceptor(this,
|
| - GetHeap()->hidden_symbol(),
|
| - false) != ABSENT;
|
| -}
|
| -
|
| -
|
| -Object* JSObject::GetHiddenPropertiesObject() {
|
| - ASSERT(!IsJSGlobalProxy());
|
| - PropertyAttributes attributes;
|
| - // You can't install a getter on a property indexed by the hidden symbol,
|
| - // so we can be sure that GetLocalPropertyPostInterceptor returns a real
|
| - // object.
|
| - Object* result =
|
| - GetLocalPropertyPostInterceptor(this,
|
| - GetHeap()->hidden_symbol(),
|
| - &attributes)->ToObjectUnchecked();
|
| - return result;
|
| -}
|
| -
|
| -
|
| -MaybeObject* JSObject::SetHiddenPropertiesObject(Object* hidden_obj) {
|
| - ASSERT(!IsJSGlobalProxy());
|
| - return SetPropertyPostInterceptor(GetHeap()->hidden_symbol(),
|
| - hidden_obj,
|
| - DONT_ENUM,
|
| - kNonStrictMode);
|
| -}
|
| -
|
| -
|
| -bool JSObject::HasHiddenProperties() {
|
| - return !GetHiddenProperties(OMIT_CREATION)->ToObjectChecked()->IsUndefined();
|
| -}
|
| -
|
| -
|
| bool JSReceiver::HasElement(uint32_t index) {
|
| if (IsJSProxy()) {
|
| return JSProxy::cast(this)->HasElementWithHandler(index);
|
|
|