[heap] Remove unused parameter from TransferColor

BUG=

Change-Id: Icfc5412316279bed6cc95107303fbee6be66ebb4
Reviewed-on: https://chromium-review.googlesource.com/452618
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#43715}
This commit is contained in:
Michael Lippautz 2017-03-09 18:41:16 +01:00 committed by Commit Bot
parent faf5f52627
commit 38862054f3
2 changed files with 2 additions and 3 deletions

View File

@ -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;

View File

@ -147,7 +147,7 @@ class ScavengingVisitor : public StaticVisitorBase {
}
if (marks_handling == TRANSFER_MARKS) {
IncrementalMarking::TransferColor(source, target, size);
IncrementalMarking::TransferColor(source, target);
}
}