Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 6e4678530caf9f4bbc4060e70e0a9368e840c0b2..471ee664794f6b791b22ef24dad532e61b8c1405 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -1145,6 +1145,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) { \ |