Keep CodeRange::current_allocation_block_index_ in range after r21869.

BUG=305878,388328
LOG=N
R=hpayer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22037 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
ulan@chromium.org 2014-06-26 11:49:39 +00:00
parent 6096f1bb0f
commit 7f5c66b26b

View File

@ -193,7 +193,7 @@ bool CodeRange::GetNextAllocationBlock(size_t requested) {
return true; // Found a large enough allocation block.
}
}
current_allocation_block_index_ = 0;
// Code range is full or too fragmented.
return false;
}