Index: src/heap/spaces.h |
diff --git a/src/heap/spaces.h b/src/heap/spaces.h |
index 5103cbf11ef5c5d27836200c0feac34bc7ecbe48..135b46e3d59e41f98e2b72e6b1f4f3240bcc77b5 100644 |
--- a/src/heap/spaces.h |
+++ b/src/heap/spaces.h |
@@ -1418,6 +1418,8 @@ class PageRange { |
typedef PageIterator iterator; |
PageRange(Page* begin, Page* end) : begin_(begin), end_(end) {} |
explicit PageRange(Page* page) : PageRange(page, page->next_page()) {} |
+ inline PageRange(Address start, Address limit); |
+ |
iterator begin() { return iterator(begin_); } |
iterator end() { return iterator(end_); } |
@@ -1877,17 +1879,6 @@ class LocalAllocationBuffer { |
AllocationInfo allocation_info_; |
}; |
-class NewSpacePageRange { |
- public: |
- typedef PageRange::iterator iterator; |
- inline NewSpacePageRange(Address start, Address limit); |
- iterator begin() { return range_.begin(); } |
- iterator end() { return range_.end(); } |
- |
- private: |
- PageRange range_; |
-}; |
- |
class PagedSpace : public Space { |
public: |
typedef PageIterator iterator; |