From 38862054f37dbfac04f8de5860e54b270f452545 Mon Sep 17 00:00:00 2001 From: Michael Lippautz Date: Thu, 9 Mar 2017 18:41:16 +0100 Subject: [PATCH] [heap] Remove unused parameter from TransferColor BUG= Change-Id: Icfc5412316279bed6cc95107303fbee6be66ebb4 Reviewed-on: https://chromium-review.googlesource.com/452618 Reviewed-by: Ulan Degenbaev Commit-Queue: Michael Lippautz Cr-Commit-Position: refs/heads/master@{#43715} --- src/heap/incremental-marking.h | 3 +-- src/heap/scavenger.cc | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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); } }