Index: src/heap/spaces.cc |
diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc |
index 95d5687a8fa4010fa6523c04d0e34018cc396639..a45aac2c32138dcbb23f4a2095918dea5a31c59c 100644 |
--- a/src/heap/spaces.cc |
+++ b/src/heap/spaces.cc |
@@ -505,7 +505,7 @@ MemoryChunk* MemoryChunk::Initialize(Heap* heap, Address base, size_t size, |
chunk->size_ = size; |
chunk->area_start_ = area_start; |
chunk->area_end_ = area_end; |
- chunk->flags_ = 0; |
+ chunk->flags_ = Flags(NO_FLAGS); |
chunk->set_owner(owner); |
chunk->InitializeReservedMemory(); |
chunk->old_to_new_slots_ = nullptr; |
@@ -528,7 +528,6 @@ MemoryChunk* MemoryChunk::Initialize(Heap* heap, Address base, size_t size, |
chunk->black_area_end_marker_map_ = nullptr; |
DCHECK(OFFSET_OF(MemoryChunk, flags_) == kFlagsOffset); |
- DCHECK(OFFSET_OF(MemoryChunk, live_byte_count_) == kLiveBytesOffset); |
if (executable == EXECUTABLE) { |
chunk->SetFlag(IS_EXECUTABLE); |