Index: src/heap/incremental-marking.h |
diff --git a/src/heap/incremental-marking.h b/src/heap/incremental-marking.h |
index ee1290e6c89de06b7be1a1b255ac971045a7e3cb..5f2b60fd2472bc22270cc652113e610ee7b4f3e3 100644 |
--- a/src/heap/incremental-marking.h |
+++ b/src/heap/incremental-marking.h |
@@ -8,15 +8,12 @@ |
#include "src/cancelable-task.h" |
#include "src/execution.h" |
#include "src/heap/incremental-marking-job.h" |
+#include "src/heap/mark-compact.h" |
#include "src/objects.h" |
namespace v8 { |
namespace internal { |
-// Forward declarations. |
-class MarkBit; |
-class PagedSpace; |
- |
class IncrementalMarking { |
public: |
enum State { STOPPED, SWEEPING, MARKING, COMPLETE }; |
@@ -184,7 +181,7 @@ class IncrementalMarking { |
SetOldSpacePageFlags(chunk, IsMarking(), IsCompacting()); |
} |
- inline void SetNewSpacePageFlags(MemoryChunk* chunk) { |
+ inline void SetNewSpacePageFlags(NewSpacePage* chunk) { |
SetNewSpacePageFlags(chunk, IsMarking()); |
} |
@@ -234,7 +231,7 @@ class IncrementalMarking { |
static void SetOldSpacePageFlags(MemoryChunk* chunk, bool is_marking, |
bool is_compacting); |
- static void SetNewSpacePageFlags(MemoryChunk* chunk, bool is_marking); |
+ static void SetNewSpacePageFlags(NewSpacePage* chunk, bool is_marking); |
INLINE(void ProcessMarkingDeque()); |