Index: src/heap/mark-compact.cc |
diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc |
index a206b1d12e4beb525a4ffb2235e37ee9571ec830..db24c84b8759cb53f25979fadcd6122a164f3498 100644 |
--- a/src/heap/mark-compact.cc |
+++ b/src/heap/mark-compact.cc |
@@ -4180,6 +4180,7 @@ void MarkCompactCollector::SweepSpaces() { |
// Deallocate evacuated candidate pages. |
ReleaseEvacuationCandidates(); |
+ heap()->isolate()->code_range()->ReserveEmergencyBlock(); |
if (FLAG_print_cumulative_gc_stat) { |
heap_->tracer()->AddSweepingTime(base::OS::TimeCurrentMillis() - |