Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index d139f326ec209015bf5098eaf068c9202f811892..e891a0fc5e81ba0cccef7af93748f1dd3d344040 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -2227,15 +2227,6 @@ class JSObject: public JSReceiver { |
inline bool HasNamedInterceptor(); |
inline bool HasIndexedInterceptor(); |
- // Computes the enumerable keys from interceptors. Used for debug mirrors and |
- // by JSReceiver::GetKeys. |
- MUST_USE_RESULT static MaybeHandle<JSObject> GetKeysForNamedInterceptor( |
- Handle<JSObject> object, |
- Handle<JSReceiver> receiver); |
- MUST_USE_RESULT static MaybeHandle<JSObject> GetKeysForIndexedInterceptor( |
- Handle<JSObject> object, |
- Handle<JSReceiver> receiver); |
- |
// Support functions for v8 api (needed for correct interceptor behavior). |
MUST_USE_RESULT static Maybe<bool> HasRealNamedProperty( |
Handle<JSObject> object, Handle<Name> name); |
@@ -2277,12 +2268,6 @@ class JSObject: public JSReceiver { |
static void CollectOwnElementKeys(Handle<JSObject> object, |
KeyAccumulator* keys, |
PropertyFilter filter); |
- // Count and fill in the enumerable elements into storage. |
- // (storage->length() == NumberOfEnumElements()). |
- // If storage is NULL, will count the elements without adding |
- // them to any storage. |
- // Returns the number of enumerable elements. |
- int GetEnumElementKeys(FixedArray* storage); |
static Handle<FixedArray> GetEnumPropertyKeys(Handle<JSObject> object, |
bool cache_result); |