Revision: 24380
Author:   [email protected]
Date:     Thu Oct  2 07:42:11 2014 UTC
Log:      Fix Windows compile.

BUG=
[email protected]

Review URL: https://codereview.chromium.org/619853007
https://code.google.com/p/v8/source/detail?r=24380

Modified:
 /branches/bleeding_edge/src/heap/gc-idle-time-handler.cc

=======================================
--- /branches/bleeding_edge/src/heap/gc-idle-time-handler.cc Thu Oct 2 07:21:53 2014 UTC +++ /branches/bleeding_edge/src/heap/gc-idle-time-handler.cc Thu Oct 2 07:42:11 2014 UTC
@@ -87,7 +87,8 @@
   // We do not know the allocation throughput before the first Scavenge.
// TODO(hpayer): Estimate allocation throughput before the first Scavenge.
   if (new_space_allocation_throughput_in_bytes_per_ms == 0) {
-    new_space_allocation_limit = new_space_size * kConservativeTimeRatio;
+    new_space_allocation_limit =
+        static_cast<size_t>(new_space_size * kConservativeTimeRatio);
   } else {
     // We have to trigger scavenge before we reach the end of new space.
     new_space_allocation_limit -=

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to