| Index: src/heap/mark-compact.h
|
| diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h
|
| index d78e9bddee44b0f2a1b396e49a4bd90f60bd20d7..9ae01fbe4ae22d1934a8090021354fb68a382374 100644
|
| --- a/src/heap/mark-compact.h
|
| +++ b/src/heap/mark-compact.h
|
| @@ -26,10 +26,8 @@ class MarkingVisitor;
|
| class RootMarkingVisitor;
|
|
|
|
|
| -class Marking {
|
| +class Marking : public AllStatic {
|
| public:
|
| - explicit Marking(Heap* heap) : heap_(heap) {}
|
| -
|
| INLINE(static MarkBit MarkBitFrom(Address addr));
|
|
|
| INLINE(static MarkBit MarkBitFrom(HeapObject* obj)) {
|
| @@ -120,7 +118,7 @@ class Marking {
|
| static void ClearAllMarkBitsOfCellsContainedInRange(MarkBit start,
|
| MarkBit end);
|
|
|
| - void TransferMark(Address old_start, Address new_start);
|
| + static void TransferMark(Heap* heap, Address old_start, Address new_start);
|
|
|
| #ifdef DEBUG
|
| enum ObjectColor {
|
| @@ -174,7 +172,7 @@ class Marking {
|
| }
|
|
|
| private:
|
| - Heap* heap_;
|
| + DISALLOW_IMPLICIT_CONSTRUCTORS(Marking);
|
| };
|
|
|
| // ----------------------------------------------------------------------------
|
|
|