Revision: 9726
Author: [email protected]
Date: Thu Oct 20 06:47:14 2011
Log: Fix the build on Mac.
Review URL: http://codereview.chromium.org/8354037
http://code.google.com/p/v8/source/detail?r=9726
Modified:
/branches/bleeding_edge/src/serialize.cc
=======================================
--- /branches/bleeding_edge/src/serialize.cc Thu Oct 20 05:36:45 2011
+++ /branches/bleeding_edge/src/serialize.cc Thu Oct 20 06:47:14 2011
@@ -1158,7 +1158,8 @@
for (Object** current = start; current < end; current++) {
if (start == isolate->heap()->roots_array_start()) {
- root_index_wave_front_ = Max(root_index_wave_front_, current -
start);
+ root_index_wave_front_ =
+ Max(root_index_wave_front_, static_cast<intptr_t>(current -
start));
}
if (reinterpret_cast<Address>(current) ==
isolate->heap()->store_buffer()->TopAddress()) {
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev