Index: src/heap/mark-compact.h |
diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h |
index 7e94ee54cfc70eeb22fdfc375764bdaf04c88c54..44e90d5a4b20ec7b3e14ce4b6e175fa7e49766b7 100644 |
--- a/src/heap/mark-compact.h |
+++ b/src/heap/mark-compact.h |
@@ -321,6 +321,8 @@ class LiveObjectIterator BASE_EMBEDDED { |
HeapObject* Next(); |
private: |
+ inline Heap* heap() { return chunk_->heap(); } |
+ |
MemoryChunk* chunk_; |
MarkBitCellIterator it_; |
Address cell_base_; |