Index: src/mark-compact.h |
diff --git a/src/mark-compact.h b/src/mark-compact.h |
index 638076f0b07ac6f63f0e8f5f0390c2e8daa4561a..74ec1064812924b78b866017045ebf1d2e421bdd 100644 |
--- a/src/mark-compact.h |
+++ b/src/mark-compact.h |
@@ -858,6 +858,10 @@ class MarkCompactCollector { |
// The linked list of all encountered weak maps is destroyed. |
void ClearWeakCollections(); |
+ // We have to remove all encountered weak maps from the list of weak |
+ // collections when incremental marking is aborted. |
+ void AbortWeakCollections(); |
+ |
// ----------------------------------------------------------------------- |
// Phase 2: Sweeping to clear mark bits and free non-live objects for |
// a non-compacting collection. |