Index: src/heap/mark-compact-inl.h |
diff --git a/src/heap/mark-compact-inl.h b/src/heap/mark-compact-inl.h |
index 7ba34848fda61f5d33ca6dad8cbd25f5be0215dc..1ac9a5973a36ad4b5ddb2ce607e0ec8a264aa1b8 100644 |
--- a/src/heap/mark-compact-inl.h |
+++ b/src/heap/mark-compact-inl.h |
@@ -23,6 +23,9 @@ void MarkCompactCollector::SetFlags(int flags) { |
reduce_memory_footprint_ = ((flags & Heap::kReduceMemoryFootprintMask) != 0); |
abort_incremental_marking_ = |
((flags & Heap::kAbortIncrementalMarkingMask) != 0); |
+ finalize_incremental_marking_ = |
+ ((flags & Heap::kFinalizeIncrementalMarkingMask) != 0); |
+ DCHECK(!finalize_incremental_marking_ || !abort_incremental_marking_); |
} |