| Index: src/heap/spaces.cc
 | 
| diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc
 | 
| index 845e2172cf8a5f485e709a7de028b1ee15e47597..30fe5c165765833ec838fcce10f9548a05ad4171 100644
 | 
| --- a/src/heap/spaces.cc
 | 
| +++ b/src/heap/spaces.cc
 | 
| @@ -2787,7 +2787,6 @@ void PagedSpace::RepairFreeListsAfterDeserialization() {
 | 
|    }
 | 
|  }
 | 
|  
 | 
| -
 | 
|  HeapObject* PagedSpace::SweepAndRetryAllocation(int size_in_bytes) {
 | 
|    MarkCompactCollector* collector = heap()->mark_compact_collector();
 | 
|    if (collector->sweeping_in_progress()) {
 | 
| @@ -2801,7 +2800,6 @@ HeapObject* PagedSpace::SweepAndRetryAllocation(int size_in_bytes) {
 | 
|    return nullptr;
 | 
|  }
 | 
|  
 | 
| -
 | 
|  HeapObject* CompactionSpace::SweepAndRetryAllocation(int size_in_bytes) {
 | 
|    MarkCompactCollector* collector = heap()->mark_compact_collector();
 | 
|    if (collector->sweeping_in_progress()) {
 | 
| @@ -2858,9 +2856,7 @@ void PagedSpace::ReportStatistics() {
 | 
|           ", available: %" V8PRIdPTR ", %%%d\n",
 | 
|           Capacity(), Waste(), Available(), pct);
 | 
|  
 | 
| -  if (heap()->mark_compact_collector()->sweeping_in_progress()) {
 | 
| -    heap()->mark_compact_collector()->EnsureSweepingCompleted();
 | 
| -  }
 | 
| +  heap()->mark_compact_collector()->EnsureSweepingCompleted();
 | 
|    ClearHistograms(heap()->isolate());
 | 
|    HeapObjectIterator obj_it(this);
 | 
|    for (HeapObject* obj = obj_it.Next(); obj != NULL; obj = obj_it.Next())
 | 
| 
 |