Index: src/heap-snapshot-generator.cc |
diff --git a/src/heap-snapshot-generator.cc b/src/heap-snapshot-generator.cc |
index bae364cae7d197531e73f98e4eb00ffc5e118519..92149a2e8686c7c0e2839e2371349ed4afe88ce5 100644 |
--- a/src/heap-snapshot-generator.cc |
+++ b/src/heap-snapshot-generator.cc |
@@ -1175,6 +1175,8 @@ |
JSArrayBufferView* view = JSArrayBufferView::cast(obj); |
SetInternalReference(view, entry, "buffer", view->buffer(), |
JSArrayBufferView::kBufferOffset); |
+ SetWeakReference(view, entry, "weak_next", view->weak_next(), |
+ JSArrayBufferView::kWeakNextOffset); |
} |
TagObject(js_obj->properties(), "(object properties)"); |
SetInternalReference(obj, entry, |
@@ -1568,6 +1570,9 @@ |
int entry, JSArrayBuffer* buffer) { |
SetWeakReference(buffer, entry, "weak_next", buffer->weak_next(), |
JSArrayBuffer::kWeakNextOffset); |
+ SetWeakReference(buffer, entry, |
+ "weak_first_view", buffer->weak_first_view(), |
+ JSArrayBuffer::kWeakFirstViewOffset); |
// Setup a reference to a native memory backing_store object. |
if (!buffer->backing_store()) |
return; |