Index: src/spaces-inl.h |
=================================================================== |
--- src/spaces-inl.h (revision 11201) |
+++ src/spaces-inl.h (working copy) |
@@ -164,7 +164,7 @@ |
Executability executable, |
PagedSpace* owner) { |
Page* page = reinterpret_cast<Page*>(chunk); |
- ASSERT(chunk->size() == static_cast<size_t>(kPageSize)); |
+ ASSERT(chunk->size() <= static_cast<size_t>(kPageSize)); |
ASSERT(chunk->owner() == owner); |
owner->IncreaseCapacity(page->area_size()); |
owner->Free(page->area_start(), page->area_size()); |