Index: src/heap/mark-compact-inl.h |
diff --git a/src/heap/mark-compact-inl.h b/src/heap/mark-compact-inl.h |
index 757b6c347a04ae3b51356c155dd4985a79a2f27b..66b0a59cec6c0b32ba3cf2147e0af2e55bd81f98 100644 |
--- a/src/heap/mark-compact-inl.h |
+++ b/src/heap/mark-compact-inl.h |
@@ -15,7 +15,8 @@ namespace internal { |
MarkBit Marking::MarkBitFrom(Address addr) { |
MemoryChunk* p = MemoryChunk::FromAddress(addr); |
- return p->markbits()->MarkBitFromIndex(p->AddressToMarkbitIndex(addr)); |
+ return p->markbits()->MarkBitFromIndex(p->AddressToMarkbitIndex(addr), |
+ p->ContainsOnlyData()); |
} |