Index: src/heap/heap.h |
diff --git a/src/heap/heap.h b/src/heap/heap.h |
index 84bbe89725e88dc04268a01c9edc88ef27ce3552..eee7d28a6959a8631de5a535e4acf88173916df5 100644 |
--- a/src/heap/heap.h |
+++ b/src/heap/heap.h |
@@ -1442,6 +1442,10 @@ class Heap { |
// ArrayBuffer tracking. ===================================================== |
// =========================================================================== |
+ // TODO(gc): API usability: encapsulate mutation of JSArrayBuffer::is_external |
+ // in the registration/unregistration APIs. Consider dropping the "New" from |
+ // "RegisterNewArrayBuffer" because one can re-register a previously |
+ // unregistered buffer, too, and the name is confusing. |
void RegisterNewArrayBuffer(JSArrayBuffer* buffer); |
void UnregisterArrayBuffer(JSArrayBuffer* buffer); |