Index: src/heap/mark-compact.cc |
diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc |
index e4f2040c6f1d3362b9b127b2e2f01002d12e97c3..dee8d9319fc03c5c5cbae6e008cdd1efb3d8d835 100644 |
--- a/src/heap/mark-compact.cc |
+++ b/src/heap/mark-compact.cc |
@@ -260,8 +260,7 @@ bool MarkCompactCollector::StartCompaction(CompactionMode mode) { |
CollectEvacuationCandidates(heap()->old_space()); |
- if (FLAG_compact_code_space && (mode == NON_INCREMENTAL_COMPACTION || |
- FLAG_incremental_code_compaction)) { |
+ if (FLAG_compact_code_space) { |
CollectEvacuationCandidates(heap()->code_space()); |
} else if (FLAG_trace_fragmentation) { |
TraceFragmentation(heap()->code_space()); |