Skip to content

Commit 8cc181c

Browse files
committed
deps: V8: cherry-pick c8785d1
Original commit message: [heap, api] Advance deprecations around global handles Bug: chromium:923361, v8:8834 Change-Id: I46b6ad9eaa86476963a4e2cb3a5712447f180c20 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1528235 Auto-Submit: Michael Lippautz <[email protected]> Commit-Queue: Ulan Degenbaev <[email protected]> Reviewed-by: Ulan Degenbaev <[email protected]> Cr-Commit-Position: refs/heads/master@{#60303} Refs: v8/v8@c8785d1 PR-URL: #27013 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
1 parent 2ea9de2 commit 8cc181c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

common.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
# Reset this number to 0 on major V8 upgrades.
3939
# Increment by one for each non-official patch applied to deps/v8.
40-
'v8_embedder_string': '-node.14',
40+
'v8_embedder_string': '-node.15',
4141

4242
##### V8 defaults for Node.js #####
4343

deps/v8/include/v8-util.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ class PersistentValueMapBase {
198198
* Call V8::RegisterExternallyReferencedObject with the map value for given
199199
* key.
200200
*/
201-
V8_DEPRECATE_SOON(
201+
V8_DEPRECATED(
202202
"Used TracedGlobal and EmbedderHeapTracer::RegisterEmbedderReference",
203203
inline void RegisterExternallyReferencedObject(K& key));
204204

deps/v8/include/v8.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ template <class T> class PersistentBase {
549549
* is alive. Only allowed when the embedder is asked to trace its heap by
550550
* EmbedderHeapTracer.
551551
*/
552-
V8_DEPRECATE_SOON(
552+
V8_DEPRECATED(
553553
"Used TracedGlobal and EmbedderHeapTracer::RegisterEmbedderReference",
554554
V8_INLINE void RegisterExternalReference(Isolate* isolate) const);
555555

@@ -572,7 +572,7 @@ template <class T> class PersistentBase {
572572
*
573573
* This bit is cleared after the each garbage collection pass.
574574
*/
575-
V8_DEPRECATE_SOON("Use TracedGlobal.", V8_INLINE void MarkActive());
575+
V8_DEPRECATED("Use TracedGlobal.", V8_INLINE void MarkActive());
576576

577577
V8_DEPRECATED("See MarkIndependent.", V8_INLINE bool IsIndependent() const);
578578

0 commit comments

Comments
 (0)