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

Unified Diff: src/isolate.h

Issue 1398093002: Pass the context from which a given receiver is accessed explicitly (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 months 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/builtins.cc ('k') | src/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.h
diff --git a/src/isolate.h b/src/isolate.h
index 86ae7b646b0fdee3549243495dd5cc43c74bbbe6..8c167e14215a12a18a7cc51eac7b340ebe167224 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -679,11 +679,11 @@ class Isolate {
Handle<JSArray> GetDetailedFromSimpleStackTrace(
Handle<JSObject> error_object);
- // Returns if the top context may access the given global object. If
+ // Returns if the given context may access the given global object. If
// the result is false, the pending exception is guaranteed to be
// set.
+ bool MayAccess(Handle<Context> accessing_context, Handle<JSObject> receiver);
- bool MayAccess(Handle<JSObject> receiver);
bool IsInternallyUsedPropertyName(Handle<Object> name);
bool IsInternallyUsedPropertyName(Object* name);
« no previous file with comments | « src/builtins.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698