Commit 223a6f63 authored by Ulan Degenbaev's avatar Ulan Degenbaev Committed by Commit Bot

[heap] Fix compile error in concurrent marker.

Change-Id: Ie79607b16270a50ef74261ee8e34a3f1321454c1
Reviewed-on: https://chromium-review.googlesource.com/534233Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#45926}
parent b11c557d
......@@ -3159,7 +3159,7 @@ void Heap::AdjustLiveBytes(HeapObject* object, int by) {
ObjectMarking::IsBlack(object, MarkingState::Internal(object))) {
DCHECK(MemoryChunk::FromAddress(object->address())->SweepingDone());
#ifdef V8_CONCURRENT_MARKING
MarkingState::Internal(object).IncrementLiveBytes<MarkBit::ATOMIC>(by);
MarkingState::Internal(object).IncrementLiveBytes<AccessMode::ATOMIC>(by);
#else
MarkingState::Internal(object).IncrementLiveBytes(by);
#endif
......
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