| Index: src/mark-compact.cc
|
| diff --git a/src/mark-compact.cc b/src/mark-compact.cc
|
| index fecc70f191137c166a3f0a50fd18a48826e7e6a7..dabc0f67065c04665226bc310965a730d18b9aa4 100644
|
| --- a/src/mark-compact.cc
|
| +++ b/src/mark-compact.cc
|
| @@ -247,8 +247,8 @@ void Marking::TransferMark(Address old_start, Address new_start) {
|
| old_mark_bit.Clear();
|
| } else if (IncrementalMarking::IsGrey(old_mark_bit)) {
|
| old_mark_bit.Next().Clear();
|
| - IncrementalMarking::WhiteToGrey(HeapObject::FromAddress(new_start),
|
| - new_mark_bit);
|
| + IncrementalMarking::WhiteToGreyAndPush(HeapObject::FromAddress(new_start),
|
| + new_mark_bit);
|
| IncrementalMarking::RestartIfNotMarking();
|
| // TODO(gc): if we shift huge array in the loop we might end up pushing
|
| // to much to marking stack. maybe we should check one or two elements
|
|
|