Chromium Code Reviews| Index: src/isolate.h |
| diff --git a/src/isolate.h b/src/isolate.h |
| index 567ef6615b56369051cb4184f951e75cd9457775..9e4dc1082f8db93e4f7609614f6f7983b175a19b 100644 |
| --- a/src/isolate.h |
| +++ b/src/isolate.h |
| @@ -752,6 +752,19 @@ class Isolate { |
| // Returns if the top context may access the given global object. If |
| // the result is false, the pending exception is guaranteed to be |
| // set. |
| + |
| + // TODO(yangguo): temporary wrappers |
| + bool MayNamedAccessWrapper(Handle<JSObject> receiver, |
|
Michael Starzinger
2013/10/01 14:46:19
At some point we want these functions to be the de
|
| + Handle<Object> key, |
| + v8::AccessType type) { |
| + return MayNamedAccess(*receiver, *key, type); |
| + } |
| + bool MayIndexedAccessWrapper(Handle<JSObject> receiver, |
| + uint32_t index, |
| + v8::AccessType type) { |
| + return MayIndexedAccess(*receiver, index, type); |
| + } |
| + |
| bool MayNamedAccess(JSObject* receiver, |
| Object* key, |
| v8::AccessType type); |