Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 1fd8f4d2a909aad96c01344d56995b1af464fe58..15b6a2357763a952fd17ce592d384998a09c01b2 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -4698,7 +4698,7 @@ |
// promoted objects. |
if (heap_->incremental_marking()->black_allocation()) { |
Code* code = Code::cast(Code::GetObjectFromEntryAddress(code_entry_slot)); |
- IncrementalMarking::MarkGrey(heap_, code); |
+ IncrementalMarking::MarkObject(heap_, code); |
} |
} |
@@ -4734,7 +4734,7 @@ |
// regular visiting and IteratePromotedObjectPointers. |
if (!was_marked_black) { |
if (incremental_marking()->black_allocation()) { |
- IncrementalMarking::MarkGrey(this, target->map()); |
+ IncrementalMarking::MarkObject(this, target->map()); |
incremental_marking()->IterateBlackObject(target); |
} |
} |