Commit c566aed2 authored by olivf@chromium.org's avatar olivf@chromium.org

Bump code space size for cctest/DeserializeFromSecondSerialization.

R=mstarzinger@chromium.org
BUG=

Review URL: https://codereview.chromium.org/25996002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17105 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 66c61039
...@@ -1077,7 +1077,7 @@ intptr_t PagedSpace::SizeOfFirstPage() { ...@@ -1077,7 +1077,7 @@ intptr_t PagedSpace::SizeOfFirstPage() {
// upgraded to handle small pages. // upgraded to handle small pages.
size = AreaSize(); size = AreaSize();
} else { } else {
size = 384 * KB; size = 416 * KB;
} }
break; break;
default: default:
...@@ -2685,6 +2685,7 @@ HeapObject* PagedSpace::SlowAllocateRaw(int size_in_bytes) { ...@@ -2685,6 +2685,7 @@ HeapObject* PagedSpace::SlowAllocateRaw(int size_in_bytes) {
// Try to expand the space and allocate in the new next page. // Try to expand the space and allocate in the new next page.
if (Expand()) { if (Expand()) {
ASSERT(CountTotalPages() > 1 || size_in_bytes <= free_list_.available());
return free_list_.Allocate(size_in_bytes); return free_list_.Allocate(size_in_bytes);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment