diff --git a/src/heap/incremental-marking.h b/src/heap/incremental-marking.h index 9b21ae7731..e0900c1ed3 100644 --- a/src/heap/incremental-marking.h +++ b/src/heap/incremental-marking.h @@ -185,8 +185,7 @@ class V8_EXPORT_PRIVATE IncrementalMarking { static void TransferMark(Heap* heap, HeapObject* from, HeapObject* to); - INLINE(static void TransferColor(HeapObject* from, HeapObject* to, - int size)) { + V8_INLINE static void TransferColor(HeapObject* from, HeapObject* to) { if (ObjectMarking::IsBlack(to)) { DCHECK(to->GetHeap()->incremental_marking()->black_allocation()); return; diff --git a/src/heap/scavenger.cc b/src/heap/scavenger.cc index 30e91c627d..bbbd2f240e 100644 --- a/src/heap/scavenger.cc +++ b/src/heap/scavenger.cc @@ -147,7 +147,7 @@ class ScavengingVisitor : public StaticVisitorBase { } if (marks_handling == TRANSFER_MARKS) { - IncrementalMarking::TransferColor(source, target, size); + IncrementalMarking::TransferColor(source, target); } }