Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 0c8ee7147c04c3dbc033c9101f223a958e450f10..9e200b8218ef47e88adc797b0a622211052fee74 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -8795,6 +8795,9 @@ class JSArrayBuffer: public JSObject { |
// Casting. |
static inline JSArrayBuffer* cast(Object* obj); |
+ // Neutering. Only neuters the buffer, not associated typed arrays. |
+ void Neuter(); |
+ |
// Dispatched behavior. |
DECLARE_PRINTER(JSArrayBuffer) |
DECLARE_VERIFIER(JSArrayBuffer) |
@@ -8834,6 +8837,9 @@ class JSTypedArray: public JSObject { |
// [weak_next]: linked list of typed arrays over the same array buffer. |
DECL_ACCESSORS(weak_next, Object) |
+ // Neutering. Only neuters this typed array. |
+ void Neuter(); |
+ |
// Casting. |
static inline JSTypedArray* cast(Object* obj); |