diff options
author | Michaël Zasso <targos@protonmail.com> | 2018-06-07 17:03:08 +0200 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2018-06-10 11:48:45 +0200 |
commit | 473e36dfe0dde8fedf2eb1a5522f22959274050b (patch) | |
tree | 28ba00e16f6b0ce767054a0ed86d43645a507a82 /deps/v8/src/global-handles.h | |
parent | 045472528cfd340f20e8ea6b973eaaaf9b2dc40d (diff) | |
download | android-node-v8-473e36dfe0dde8fedf2eb1a5522f22959274050b.tar.gz android-node-v8-473e36dfe0dde8fedf2eb1a5522f22959274050b.tar.bz2 android-node-v8-473e36dfe0dde8fedf2eb1a5522f22959274050b.zip |
deps: patch V8 to 6.7.288.45
Refs: https://github.com/v8/v8/compare/6.7.288.44...6.7.288.45
PR-URL: https://github.com/nodejs/node/pull/21192
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'deps/v8/src/global-handles.h')
-rw-r--r-- | deps/v8/src/global-handles.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/deps/v8/src/global-handles.h b/deps/v8/src/global-handles.h index e96b74b883..2c2fbbd3f9 100644 --- a/deps/v8/src/global-handles.h +++ b/deps/v8/src/global-handles.h @@ -99,6 +99,11 @@ class GlobalHandles { // Clear the weakness of a global handle. static void* ClearWeakness(Object** location); + // Mark the reference to this object independent. + static void MarkIndependent(Object** location); + + static bool IsIndependent(Object** location); + // Tells whether global handle is near death. static bool IsNearDeath(Object** location); @@ -155,7 +160,8 @@ class GlobalHandles { void MarkNewSpaceWeakUnmodifiedObjectsPending( WeakSlotCallbackWithHeap is_dead); - // Iterates over weak unmodified handles. See the note above. + // Iterates over weak independent or unmodified handles. + // See the note above. void IterateNewSpaceWeakUnmodifiedRootsForFinalizers(RootVisitor* v); void IterateNewSpaceWeakUnmodifiedRootsForPhantomHandles( RootVisitor* v, WeakSlotCallbackWithHeap should_reset_handle); |