Reviewers: Hannes Payer,

Description:
Fix Windows build of defaults.cc.

BUG=None

Please review this at https://codereview.chromium.org/24762002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+1, -1 lines):
  M src/defaults.cc


Index: src/defaults.cc
diff --git a/src/defaults.cc b/src/defaults.cc
index 94080ddbd61f37af0b362b14b2b2e0966c442b4f..51159a8ed5faccd1c9ecb68024b6cd2866d91a51 100644
--- a/src/defaults.cc
+++ b/src/defaults.cc
@@ -40,7 +40,7 @@ bool ConfigureResourceConstraintsForCurrentPlatform(
   }

   uint64_t physical_memory = i::OS::TotalPhysicalMemory();
-  uintptr_t lump_of_memory = (i::kPointerSize / 4) * i::MB;
+  int lump_of_memory = (i::kPointerSize / 4) * i::MB;

// The young_space_size should be a power of 2 and old_generation_size should
   // be a multiple of Page::kPageSize.


--
--
v8-dev mailing list
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to