Index: src/heap/heap.h |
diff --git a/src/heap/heap.h b/src/heap/heap.h |
index 80bc68c172397024d0b96423b8daffa6392320f9..53c7994d6059d9101c717322303777250318cfc2 100644 |
--- a/src/heap/heap.h |
+++ b/src/heap/heap.h |
@@ -338,6 +338,12 @@ using v8::MemoryPressureLevel; |
V(WithContextMap) \ |
PRIVATE_SYMBOL_LIST(V) |
+#define FIXED_ARRAY_ELEMENTS_WRITE_BARRIER(heap, array, start, length) \ |
+ do { \ |
+ heap->RecordFixedArrayElements(array, start, length); \ |
+ heap->incremental_marking()->IterateBlackObject(array); \ |
+ } while (false) |
+ |
// Forward declarations. |
class AllocationObserver; |
class ArrayBufferTracker; |