Revision: 9012
Author: [email protected]
Date: Thu Aug 25 03:47:58 2011
Log: Fix minor compilation issue on X64.
[email protected]
Review URL: http://codereview.chromium.org/7741015
http://code.google.com/p/v8/source/detail?r=9012
Modified:
/branches/experimental/gc/src/heap.cc
=======================================
--- /branches/experimental/gc/src/heap.cc Tue Aug 23 06:33:22 2011
+++ /branches/experimental/gc/src/heap.cc Thu Aug 25 03:47:58 2011
@@ -4797,7 +4797,8 @@
// The old generation is paged and needs at least one page for each
space.
int paged_space_count = LAST_PAGED_SPACE - FIRST_PAGED_SPACE + 1;
- max_old_generation_size_ = Max(paged_space_count * Page::kPageSize,
+ max_old_generation_size_ = Max(static_cast<intptr_t>(paged_space_count *
+ Page::kPageSize),
RoundUp(max_old_generation_size_,
Page::kPageSize));
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev