Index: src/heap/mark-compact.h |
diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h |
index 3386b83272bfdb8572d86568fac4e3e2b3258e3a..cf3b3a68c03f730a1b0773ba6a50011f55aa33cf 100644 |
--- a/src/heap/mark-compact.h |
+++ b/src/heap/mark-compact.h |
@@ -326,6 +326,10 @@ |
kClearMarkbits, |
}; |
+ class EvacuateNewSpaceVisitor; |
+ class EvacuateOldSpaceVisitor; |
+ class HeapObjectVisitor; |
+ |
static void Initialize(); |
void SetUp(); |
@@ -413,6 +417,8 @@ |
AllocationSpace to_old_space, |
SlotsBuffer** evacuation_slots_buffer); |
+ bool TryPromoteObject(HeapObject* object, int object_size); |
+ |
void InvalidateCode(Code* code); |
void ClearMarkbits(); |
@@ -510,10 +516,6 @@ |
private: |
class CompactionTask; |
- class EvacuateNewSpaceVisitor; |
- class EvacuateOldSpaceVisitor; |
- class EvacuateVisitorBase; |
- class HeapObjectVisitor; |
class SweeperTask; |
explicit MarkCompactCollector(Heap* heap); |