| Index: src/heap/spaces.h
|
| diff --git a/src/heap/spaces.h b/src/heap/spaces.h
|
| index 3461de3ef009f18d9549a8de8f18ce831ba2f572..ea56e6887f6076a0430b0f97d694323140bf67b6 100644
|
| --- a/src/heap/spaces.h
|
| +++ b/src/heap/spaces.h
|
| @@ -2534,7 +2534,7 @@ class NewSpace : public Space {
|
| void LowerInlineAllocationLimit(intptr_t step) {
|
| inline_allocation_limit_step_ = step;
|
| UpdateInlineAllocationLimit(0);
|
| - top_on_previous_step_ = allocation_info_.top();
|
| + top_on_previous_step_ = step ? allocation_info_.top() : 0;
|
| }
|
|
|
| // Get the extent of the inactive semispace (for use as a marking stack,
|
|
|