Index: src/spaces.cc |
diff --git a/src/spaces.cc b/src/spaces.cc |
index 4aee798b9d5eeeb5dae80b7c627d1034647dfd26..a81687898b1b78e92f9f60ae8d863afa6602e338 100644 |
--- a/src/spaces.cc |
+++ b/src/spaces.cc |
@@ -438,6 +438,7 @@ MemoryChunk* MemoryChunk::Initialize(Heap* heap, |
chunk->SetFlag(WAS_SWEPT_PRECISELY); |
ASSERT(OFFSET_OF(MemoryChunk, flags_) == kFlagsOffset); |
+ ASSERT(OFFSET_OF(MemoryChunk, live_byte_count_) == kLiveBytesOffset); |
if (executable == EXECUTABLE) chunk->SetFlag(IS_EXECUTABLE); |
@@ -823,7 +824,6 @@ void PagedSpace::Verify(ObjectVisitor* visitor) { |
ASSERT(object->address() + size <= top); |
end_of_previous_object = object->address() + size; |
} |
- |
CHECK_LE(black_size, page->LiveBytes()); |
} |
ASSERT(allocation_pointer_found_in_space); |