| Index: src/mark-compact.h
|
| diff --git a/src/mark-compact.h b/src/mark-compact.h
|
| index ca1334e566a8f7bd8c9ddbf4181b6eaa30aa5831..8d36571d37370b1b2780bbe562ece174e5ee9d0f 100644
|
| --- a/src/mark-compact.h
|
| +++ b/src/mark-compact.h
|
| @@ -209,16 +209,7 @@ class Marking {
|
| return FirstMarkedObject(page, cell_index, cells[cell_index]);
|
| }
|
|
|
| - static inline void TransferMark(Address old_start,
|
| - Address new_start) {
|
| - if (Heap::InNewSpace(old_start) ||
|
| - Page::FromAddress(old_start)->IsFlagSet(Page::IS_CONTINUOUS) ||
|
| - !IsMarked(old_start)) {
|
| - return;
|
| - }
|
| -
|
| - SetMark(new_start);
|
| - }
|
| + static void TransferMark(Address old_start, Address new_start);
|
|
|
| static bool Setup();
|
|
|
| @@ -403,6 +394,9 @@ class MarkCompactCollector: public AllStatic {
|
| // Marking operations for objects reachable from roots.
|
| static void MarkLiveObjects();
|
|
|
| + static void AfterMarking();
|
| +
|
| +
|
| INLINE(static void MarkObject(HeapObject* obj)) {
|
| if (!Marking::TestAndMark(obj->address())) {
|
| tracer_->increment_marked_count();
|
|
|