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

Unified Diff: src/isolate.cc

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/isolate.h ('k') | src/js/macros.py » ('j') | src/objects.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index 9bec3ef6e3abe51f58fe561b97d91d925bb2e951..d5cda54a1859fac6cccb6b7e8bad31c340fb03d5 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -772,14 +772,6 @@ bool Isolate::IsInternallyUsedPropertyName(Handle<Object> name) {
}
-bool Isolate::IsInternallyUsedPropertyName(Object* name) {
- if (name->IsSymbol()) {
- return Symbol::cast(name)->is_private();
- }
- return name == heap()->hidden_string();
-}
-
-
bool Isolate::MayAccess(Handle<Context> accessing_context,
Handle<JSObject> receiver) {
DCHECK(receiver->IsJSGlobalProxy() || receiver->IsAccessCheckNeeded());
« no previous file with comments | « src/isolate.h ('k') | src/js/macros.py » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698