Index: src/heap/incremental-marking.h |
diff --git a/src/heap/incremental-marking.h b/src/heap/incremental-marking.h |
index 877f05e0e01540f4c7744ae8ab2b6bd60da3415b..0ba0f2ce5331734656fbf1e5f0e2717c263d7d90 100644 |
--- a/src/heap/incremental-marking.h |
+++ b/src/heap/incremental-marking.h |
@@ -146,14 +146,7 @@ class IncrementalMarking { |
ForceMarkingAction marking = DO_NOT_FORCE_MARKING, |
ForceCompletionAction completion = FORCE_COMPLETION); |
- inline void RestartIfNotMarking() { |
- if (state_ == COMPLETE) { |
- state_ = MARKING; |
- if (FLAG_trace_incremental_marking) { |
- PrintF("[IncrementalMarking] Restarting (new grey objects)\n"); |
- } |
- } |
- } |
+ inline void RestartIfNotMarking(); |
static void RecordWriteFromCode(HeapObject* obj, Object** slot, |
Isolate* isolate); |