[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:
parent
faf5f52627
commit
38862054f3
@ -185,8 +185,7 @@ class V8_EXPORT_PRIVATE IncrementalMarking {
|
|||||||
|
|
||||||
static void TransferMark(Heap* heap, HeapObject* from, HeapObject* to);
|
static void TransferMark(Heap* heap, HeapObject* from, HeapObject* to);
|
||||||
|
|
||||||
INLINE(static void TransferColor(HeapObject* from, HeapObject* to,
|
V8_INLINE static void TransferColor(HeapObject* from, HeapObject* to) {
|
||||||
int size)) {
|
|
||||||
if (ObjectMarking::IsBlack(to)) {
|
if (ObjectMarking::IsBlack(to)) {
|
||||||
DCHECK(to->GetHeap()->incremental_marking()->black_allocation());
|
DCHECK(to->GetHeap()->incremental_marking()->black_allocation());
|
||||||
return;
|
return;
|
||||||
|
@ -147,7 +147,7 @@ class ScavengingVisitor : public StaticVisitorBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (marks_handling == TRANSFER_MARKS) {
|
if (marks_handling == TRANSFER_MARKS) {
|
||||||
IncrementalMarking::TransferColor(source, target, size);
|
IncrementalMarking::TransferColor(source, target);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user