Reviewers: Vyacheslav Egorov,

Description:
Fix compile error on Mac.

Please review this at https://chromiumcodereview.appspot.com/9293032/

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

Affected files:
  M     src/spaces.cc


Index: src/spaces.cc
===================================================================
--- src/spaces.cc       (revision 10562)
+++ src/spaces.cc       (working copy)
@@ -283,7 +283,7 @@

 void MemoryAllocator::TearDown() {
   // Check that spaces were torn down before MemoryAllocator.
-  CHECK_EQ(memory_allocator_reserved_, static_cast<intptr_t>(0));
+  CHECK_EQ(memory_allocator_reserved_, static_cast<size_t>(0));
   // TODO(gc) this will be true again when we fix FreeMemory.
   // ASSERT(size_executable_ == 0);
   capacity_ = 0;


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to