Commit f5759d4f authored by Wenyu Zhao's avatar Wenyu Zhao Committed by Commit Bot

[heap] Skip WriteBarrierForRange for TPH

Bug: v8:11641
Change-Id: I82434a2134862a2de9b878c564141168c844132d
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2849821Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Commit-Queue: Wenyu Zhao <wenyu.zhao@anu.edu.au>
Cr-Commit-Position: refs/heads/master@{#74206}
parent a8f63db1
......@@ -6809,6 +6809,7 @@ template void Heap::WriteBarrierForRange<MaybeObjectSlot>(
template <typename TSlot>
void Heap::WriteBarrierForRange(HeapObject object, TSlot start_slot,
TSlot end_slot) {
if (FLAG_disable_write_barriers) return;
MemoryChunk* source_page = MemoryChunk::FromHeapObject(object);
base::Flags<RangeWriteBarrierMode> mode;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment