Commit 38862054 authored by Michael Lippautz's avatar Michael Lippautz Committed by Commit Bot

[heap] Remove unused parameter from TransferColor

BUG=

Change-Id: Icfc5412316279bed6cc95107303fbee6be66ebb4
Reviewed-on: https://chromium-review.googlesource.com/452618Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#43715}
parent faf5f526
......@@ -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;
......
......@@ -147,7 +147,7 @@ class ScavengingVisitor : public StaticVisitorBase {
}
if (marks_handling == TRANSFER_MARKS) {
IncrementalMarking::TransferColor(source, target, size);
IncrementalMarking::TransferColor(source, target);
}
}
......
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