Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 07223e560301e732d1cf89675d212594b60c80c8..a858c9c06e054df35680f6c6cd28e5ccd9c4f037 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -4328,42 +4328,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); |