Index: src/heap/spaces.cc |
diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc |
index 5a1ac65a2c7d4948ea426c7afd9afeafef603ac2..8d5e401953056e999bddd62cce36df5b0e9ed9ce 100644 |
--- a/src/heap/spaces.cc |
+++ b/src/heap/spaces.cc |
@@ -1604,10 +1604,11 @@ bool NewSpace::EnsureAllocation(int size_in_bytes, |
void NewSpace::StartNextInlineAllocationStep() { |
- DCHECK(!inline_allocation_observers_paused_); |
- top_on_previous_step_ = |
- inline_allocation_observers_.length() ? allocation_info_.top() : 0; |
- UpdateInlineAllocationLimit(0); |
+ if (!inline_allocation_observers_paused_) { |
+ top_on_previous_step_ = |
+ inline_allocation_observers_.length() ? allocation_info_.top() : 0; |
+ UpdateInlineAllocationLimit(0); |
+ } |
} |