| Index: src/heap/object-stats.cc
|
| diff --git a/src/heap/object-stats.cc b/src/heap/object-stats.cc
|
| index 50d6fcc2dd54af5fb6248ebfe2c39fdda8a74ac9..288d1e091914f429253f5b5f10b6235df5f213dd 100644
|
| --- a/src/heap/object-stats.cc
|
| +++ b/src/heap/object-stats.cc
|
| @@ -343,7 +343,8 @@ static bool IsCowArray(Heap* heap, FixedArrayBase* array) {
|
|
|
| static bool SameLiveness(HeapObject* obj1, HeapObject* obj2) {
|
| return obj1 == nullptr || obj2 == nullptr ||
|
| - ObjectMarking::Color(obj1) == ObjectMarking::Color(obj2);
|
| + ObjectMarking::Color(obj1, MarkingState::Internal(obj1)) ==
|
| + ObjectMarking::Color(obj2, MarkingState::Internal(obj2));
|
| }
|
|
|
| bool ObjectStatsCollector::RecordFixedArrayHelper(HeapObject* parent,
|
|
|