Index: src/spaces-inl.h |
diff --git a/src/spaces-inl.h b/src/spaces-inl.h |
index 87de29c4a5d8d74dcf65b0fcd1f62b00f3883af5..4415c2fb06b63377a052f2c7d1fc899f65f6af62 100644 |
--- a/src/spaces-inl.h |
+++ b/src/spaces-inl.h |
@@ -165,7 +165,7 @@ Page* Page::Initialize(Heap* heap, |
Executability executable, |
PagedSpace* owner) { |
Page* page = reinterpret_cast<Page*>(chunk); |
- ASSERT(page->area_size() <= kNonCodeObjectAreaSize); |
+ ASSERT(page->area_size() <= kMaxNonCodeHeapObjectSize); |
ASSERT(chunk->owner() == owner); |
owner->IncreaseCapacity(page->area_size()); |
owner->Free(page->area_start(), page->area_size()); |