Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 694b93265a67b5d1042f42b74c3fbf8f9ecbb4c3..9361eea8e90c6efb46b718f70471e1b9b0768696 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -10386,6 +10386,8 @@ class AccessorPair: public Struct { |
class AccessCheckInfo: public Struct { |
public: |
DECL_ACCESSORS(callback, Object) |
+ DECL_ACCESSORS(named_interceptor, Object) |
+ DECL_ACCESSORS(indexed_interceptor, Object) |
DECL_ACCESSORS(data, Object) |
DECLARE_CAST(AccessCheckInfo) |
@@ -10394,8 +10396,13 @@ class AccessCheckInfo: public Struct { |
DECLARE_PRINTER(AccessCheckInfo) |
DECLARE_VERIFIER(AccessCheckInfo) |
+ static AccessCheckInfo* Get(Isolate* isolate, Handle<JSObject> receiver); |
+ |
static const int kCallbackOffset = HeapObject::kHeaderSize; |
- static const int kDataOffset = kCallbackOffset + kPointerSize; |
+ static const int kNamedInterceptorOffset = kCallbackOffset + kPointerSize; |
+ static const int kIndexedInterceptorOffset = |
+ kNamedInterceptorOffset + kPointerSize; |
+ static const int kDataOffset = kIndexedInterceptorOffset + kPointerSize; |
static const int kSize = kDataOffset + kPointerSize; |
private: |