aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/src/global-handles.h
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2013-05-13 03:28:40 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2013-05-13 03:28:40 +0200
commit7ee538ddfe15b2de2e325f55d208b725ec1f8ea3 (patch)
tree8879459751605230b6a2f622c665bc9c01198088 /deps/v8/src/global-handles.h
parentfc58a5d4bdf0457e6543e8bb1a0a58dd82aac677 (diff)
downloadandroid-node-v8-7ee538ddfe15b2de2e325f55d208b725ec1f8ea3.tar.gz
android-node-v8-7ee538ddfe15b2de2e325f55d208b725ec1f8ea3.tar.bz2
android-node-v8-7ee538ddfe15b2de2e325f55d208b725ec1f8ea3.zip
deps: upgrade v8 to 3.19.0
Diffstat (limited to 'deps/v8/src/global-handles.h')
-rw-r--r--deps/v8/src/global-handles.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/deps/v8/src/global-handles.h b/deps/v8/src/global-handles.h
index 81e14765c1..f502dfa247 100644
--- a/deps/v8/src/global-handles.h
+++ b/deps/v8/src/global-handles.h
@@ -130,6 +130,8 @@ class GlobalHandles {
// Destroy a global handle.
void Destroy(Object** location);
+ typedef WeakReferenceCallbacks<v8::Value, void>::Revivable RevivableCallback;
+
// Make the global handle weak and set the callback parameter for the
// handle. When the garbage collector recognizes that only weak global
// handles point to an object the handles are cleared and the callback
@@ -138,7 +140,7 @@ class GlobalHandles {
// reason is that Smi::FromInt(0) does not change during garage collection.
void MakeWeak(Object** location,
void* parameter,
- WeakReferenceCallback weak_reference_callback,
+ RevivableCallback weak_reference_callback,
NearDeathCallback near_death_callback);
void RecordStats(HeapStats* stats);