Index: src/heap.h |
=================================================================== |
--- src/heap.h (revision 4048) |
+++ src/heap.h (working copy) |
@@ -643,7 +643,7 @@ |
static void CollectAllGarbage(bool force_compaction); |
// Notify the heap that a context has been disposed. |
- static void NotifyContextDisposed(); |
+ static int NotifyContextDisposed() { return ++contexts_disposed_; } |
// Utility to invoke the scavenger. This is needed in test code to |
// ensure correct callback for weak global handles. |