| Index: src/heap/spaces.h
|
| diff --git a/src/heap/spaces.h b/src/heap/spaces.h
|
| index cd5e9f2c7be4d8b44a6c6e921fd6f76e0aaee442..aaa03575e25d28bdf749890d922538deed76c9cb 100644
|
| --- a/src/heap/spaces.h
|
| +++ b/src/heap/spaces.h
|
| @@ -1573,6 +1573,7 @@ class FreeList {
|
|
|
| PagedSpace* owner_;
|
| Heap* heap_;
|
| + int unreported_allocation_;
|
|
|
| static const int kSmallListMax = 0xff * kPointerSize;
|
| static const int kMediumListMax = 0x7ff * kPointerSize;
|
| @@ -1770,13 +1771,7 @@ class PagedSpace : public Space {
|
| void ResetFreeList() { free_list_.Reset(); }
|
|
|
| // Set space allocation info.
|
| - void SetTopAndLimit(Address top, Address limit) {
|
| - DCHECK(top == limit ||
|
| - Page::FromAddress(top) == Page::FromAddress(limit - 1));
|
| - MemoryChunk::UpdateHighWaterMark(allocation_info_.top());
|
| - allocation_info_.set_top(top);
|
| - allocation_info_.set_limit(limit);
|
| - }
|
| + void SetTopAndLimit(Address top, Address limit);
|
|
|
| // Empty space allocation info, returning unused area to free list.
|
| void EmptyAllocationInfo() {
|
|
|