| Index: src/heap.h
|
| diff --git a/src/heap.h b/src/heap.h
|
| index 5e8a2e516d9d009bafdeca4605e5cd7e6bbe38a0..fbe0531014e6c7a7adae10c6ffd03bfde43ff826 100644
|
| --- a/src/heap.h
|
| +++ b/src/heap.h
|
| @@ -1254,7 +1254,10 @@ class Heap {
|
| void EnsureHeapIsIterable();
|
|
|
| // Notify the heap that a context has been disposed.
|
| - int NotifyContextDisposed();
|
| + int NotifyContextDisposed() {
|
| + flush_monomorphic_ics_ = true;
|
| + return ++contexts_disposed_;
|
| + }
|
|
|
| // Utility to invoke the scavenger. This is needed in test code to
|
| // ensure correct callback for weak global handles.
|
|
|