summaryrefslogtreecommitdiff
path: root/deps/v8/src/heap.h
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2013-07-30 17:14:55 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2013-07-30 17:14:55 +0200
commit2fc47ab10bdbcfb39521d04cf5417520e0035163 (patch)
tree037359365f08c7ba1a7c3f3e5a4e8867b441553d /deps/v8/src/heap.h
parentb8c04b921b626edd4201f805d0feb384c8e91ea7 (diff)
downloadnode-new-2fc47ab10bdbcfb39521d04cf5417520e0035163.tar.gz
v8: upgrade v8 to 3.20.11
Diffstat (limited to 'deps/v8/src/heap.h')
-rw-r--r--deps/v8/src/heap.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/deps/v8/src/heap.h b/deps/v8/src/heap.h
index 5e8a2e516d..fbe0531014 100644
--- a/deps/v8/src/heap.h
+++ b/deps/v8/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.