Index: src/heap/mark-compact.h |
diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h |
index 21b0e4c62fa55f82cfcf28a8134c7fb8257f64c0..de182073eaa2267c2458d38b3da709587152d824 100644 |
--- a/src/heap/mark-compact.h |
+++ b/src/heap/mark-compact.h |
@@ -472,7 +472,7 @@ class MarkCompactCollector { |
->ShouldSkipEvacuationSlotRecording(); |
} |
- INLINE(static bool IsOnEvacuationCandidate(Object* obj)) { |
+ static inline bool IsOnEvacuationCandidate(HeapObject* obj) { |
return Page::FromAddress(reinterpret_cast<Address>(obj)) |
->IsEvacuationCandidate(); |
} |