Index: src/global-handles.h |
diff --git a/src/global-handles.h b/src/global-handles.h |
index a8631f07ad8fda4e13efa4548d1be08fa6ef2819..2f5afc9345d729559fbbb16b7232f6b9b1911950 100644 |
--- a/src/global-handles.h |
+++ b/src/global-handles.h |
@@ -155,9 +155,9 @@ class GlobalHandles { |
static bool IsWeak(Object** location); |
// Process pending weak handles. |
- // Returns true if next major GC is likely to collect more garbage. |
- bool PostGarbageCollectionProcessing(GarbageCollector collector, |
- GCTracer* tracer); |
+ // Returns the number of freed nodes. |
+ int PostGarbageCollectionProcessing(GarbageCollector collector, |
+ GCTracer* tracer); |
// Iterates over all strong handles. |
void IterateStrongRoots(ObjectVisitor* v); |