Fix assert in Page::Initialize.
R=mstarzinger@chromium.org Review URL: https://chromiumcodereview.appspot.com/11275229 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13896 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
cdee6b0673
commit
3e6ffe7362
@ -164,7 +164,7 @@ Page* Page::Initialize(Heap* heap,
|
||||
Executability executable,
|
||||
PagedSpace* owner) {
|
||||
Page* page = reinterpret_cast<Page*>(chunk);
|
||||
ASSERT(chunk->size() <= static_cast<size_t>(kPageSize));
|
||||
ASSERT(page->area_size() <= kNonCodeObjectAreaSize);
|
||||
ASSERT(chunk->owner() == owner);
|
||||
owner->IncreaseCapacity(page->area_size());
|
||||
owner->Free(page->area_start(), page->area_size());
|
||||
|
Loading…
Reference in New Issue
Block a user