Fix compilation after r24639
TBR=yangguo@chromium.org Review URL: https://codereview.chromium.org/661473002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24642 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
0ab88698ae
commit
d7acb9148b
@ -1918,7 +1918,7 @@ uint32_t Serializer::Allocate(int space, int size) {
|
||||
DCHECK(size > 0 && size < Page::kMaxRegularHeapObjectSize);
|
||||
uint32_t new_chunk_size = pending_chunk_[space] + size;
|
||||
uint32_t allocation;
|
||||
if (new_chunk_size > Page::kMaxRegularHeapObjectSize) {
|
||||
if (new_chunk_size > static_cast<uint32_t>(Page::kMaxRegularHeapObjectSize)) {
|
||||
// The new chunk size would not fit onto a single page. Complete the
|
||||
// current chunk and start a new one.
|
||||
completed_chunks_[space].Add(pending_chunk_[space]);
|
||||
|
Loading…
Reference in New Issue
Block a user