Index: src/heap.h |
=================================================================== |
--- src/heap.h (revision 10877) |
+++ src/heap.h (working copy) |
@@ -352,7 +352,7 @@ |
NewSpacePage::FromAddress(reinterpret_cast<Address>(front_)); |
ASSERT(!front_page->prev_page()->is_anchor()); |
front_ = |
- reinterpret_cast<intptr_t*>(front_page->prev_page()->body_limit()); |
+ reinterpret_cast<intptr_t*>(front_page->prev_page()->area_end()); |
} |
*target = reinterpret_cast<HeapObject*>(*(--front_)); |
*size = static_cast<int>(*(--front_)); |
@@ -486,9 +486,6 @@ |
// all available bytes. Check MaxHeapObjectSize() instead. |
intptr_t Available(); |
- // Returns the maximum object size in paged space. |
- inline int MaxObjectSizeInPagedSpace(); |
- |
// Returns of size of all objects residing in the heap. |
intptr_t SizeOfObjects(); |