Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index aaf657e5f8a05583b7506daaa9ccab4f50f85fcf..eb680cb118184b2efd6cd2d3f686c90baca2dbae 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -1148,6 +1148,12 @@ MaybeHandle<Object> JSReceiver::GetProperty(Isolate* isolate, |
object, HeapObject::RawField(object, offset), value); \ |
heap->RecordWrite(object, offset, value); |
+#define FIXED_ARRAY_ELEMENTS_WRITE_BARRIER(heap, array, start, length) \ |
+ do { \ |
+ heap->RecordFixedArrayElements(array, start, length); \ |
+ heap->incremental_marking()->IterateBlackObject(array); \ |
+ } while (false) |
+ |
#define CONDITIONAL_WRITE_BARRIER(heap, object, offset, value, mode) \ |
if (mode != SKIP_WRITE_BARRIER) { \ |
if (mode == UPDATE_WRITE_BARRIER) { \ |