Index: src/global-handles.h |
diff --git a/src/global-handles.h b/src/global-handles.h |
index 0ee8c20a375adaea6803c11034686b08d806f9d8..84fe788ce24b591f90440eed5e72c8d08811c1f4 100644 |
--- a/src/global-handles.h |
+++ b/src/global-handles.h |
@@ -220,6 +220,10 @@ class GlobalHandles { |
// See the note above. |
void IterateNewSpaceWeakIndependentRoots(ObjectVisitor* v); |
+ // Iterate over all new space handles that are in weak state and visit the |
+ // object that do not satisfy the callback predicate. |
+ void IterateNewSpaceWeakRoots(ObjectVisitor* v, WeakSlotCallback can_skip); |
+ |
// Iterate over objects in object groups that have at least one object |
// which requires visiting. The callback has to return true if objects |
// can be skipped and false otherwise. |