Index: src/heap/incremental-marking.h |
diff --git a/src/heap/incremental-marking.h b/src/heap/incremental-marking.h |
index 96f8c6b0b8959b2427c8aca482cf13be9e04fa73..132eff224b8445910c8c2c88cefdfb4b7fbbcdb7 100644 |
--- a/src/heap/incremental-marking.h |
+++ b/src/heap/incremental-marking.h |
@@ -146,6 +146,8 @@ class IncrementalMarking { |
MarkingDeque* marking_deque() { return &marking_deque_; } |
+ bool IsMarkingDequeEmpty() { return marking_deque_.IsEmpty(); } |
+ |
bool IsCompacting() { return IsMarking() && is_compacting_; } |
void ActivateGeneratedStub(Code* stub); |