| Index: src/heap/heap.cc
|
| diff --git a/src/heap/heap.cc b/src/heap/heap.cc
|
| index 4ee1a177e59a848d265d9f1e9502276af9a8f7ec..d6a83346fab226b70ba9816222077bf99b14ffd9 100644
|
| --- a/src/heap/heap.cc
|
| +++ b/src/heap/heap.cc
|
| @@ -4696,7 +4696,7 @@ class IteratePromotedObjectsVisitor final : public ObjectVisitor {
|
| // promoted objects.
|
| if (heap_->incremental_marking()->black_allocation()) {
|
| Code* code = Code::cast(Code::GetObjectFromEntryAddress(code_entry_slot));
|
| - IncrementalMarking::MarkObject(heap_, code);
|
| + IncrementalMarking::MarkGrey(heap_, code);
|
| }
|
| }
|
|
|
| @@ -4732,7 +4732,7 @@ void Heap::IteratePromotedObject(HeapObject* target, int size,
|
| // regular visiting and IteratePromotedObjectPointers.
|
| if (!was_marked_black) {
|
| if (incremental_marking()->black_allocation()) {
|
| - IncrementalMarking::MarkObject(this, target->map());
|
| + IncrementalMarking::MarkGrey(this, target->map());
|
| incremental_marking()->IterateBlackObject(target);
|
| }
|
| }
|
|
|