Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(581)

Unified Diff: src/objects.h

Issue 1498593006: [proxies] Use JSReceiver::GetKeys() for more purposes (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/js/v8natives.js ('k') | src/objects.cc » ('j') | src/objects.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « src/js/v8natives.js ('k') | src/objects.cc » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698