Index: src/accessors.h |
diff --git a/src/accessors.h b/src/accessors.h |
index 6b586a0dc7ce7a48f2454647d7e9a1657ba959e3..d37b6b770cafa5db88b3ed2bf3ef0005e90590be 100644 |
--- a/src/accessors.h |
+++ b/src/accessors.h |
@@ -80,6 +80,14 @@ class Accessors : public AllStatic { |
static bool IsJSObjectFieldAccessor(Handle<Map> map, Handle<Name> name, |
int* object_offset); |
+ // Returns true for properties that are accessors to ArrayBufferView and |
+ // derived classes fields. If true, *object_offset contains offset of |
+ // object field. The caller still has to check whether the underlying |
+ // buffer was neutered. |
+ static bool IsJSArrayBufferViewFieldAccessor(Handle<Map> map, |
+ Handle<Name> name, |
+ int* object_offset); |
+ |
static Handle<AccessorInfo> MakeAccessor( |
Isolate* isolate, |
Handle<Name> name, |