Fix compile error on Mac.

Review URL: https://chromiumcodereview.appspot.com/9293032

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10563 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
erik.corry@gmail.com 2012-01-31 12:06:00 +00:00
parent f5feac9e98
commit 664669cf17

View File

@ -283,7 +283,7 @@ bool MemoryAllocator::SetUp(intptr_t capacity, intptr_t capacity_executable) {
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;