Index: src/mark-compact.h |
diff --git a/src/mark-compact.h b/src/mark-compact.h |
index 66ffd1953526423aae23a7f17786895fd95001fb..f8488bb00db361900d178486a2e8fe6714780cd0 100644 |
--- a/src/mark-compact.h |
+++ b/src/mark-compact.h |
@@ -544,6 +544,8 @@ class MarkCompactCollector { |
void ClearMarkbits(); |
+ bool is_compacting() const { return compacting_; } |
+ |
private: |
MarkCompactCollector(); |
~MarkCompactCollector(); |