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
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]);