summaryrefslogtreecommitdiff
path: root/deps/v8
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2019-03-30 15:21:30 +0100
committerMichaël Zasso <targos@protonmail.com>2019-04-03 08:29:23 +0200
commit8cc181c8eeb724d4ce0613fcc515857681bddbe9 (patch)
tree6c3b8e52fe3ede96e39b9a5db269882f4c8d14a0 /deps/v8
parent2ea9de2e85d937c9bc5d778c623b22614c2b8a72 (diff)
downloadandroid-node-v8-8cc181c8eeb724d4ce0613fcc515857681bddbe9.tar.gz
android-node-v8-8cc181c8eeb724d4ce0613fcc515857681bddbe9.tar.bz2
android-node-v8-8cc181c8eeb724d4ce0613fcc515857681bddbe9.zip
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 <mlippautz@chromium.org> Commit-Queue: Ulan Degenbaev <ulan@chromium.org> Reviewed-by: Ulan Degenbaev <ulan@chromium.org> Cr-Commit-Position: refs/heads/master@{#60303} Refs: https://github.com/v8/v8/commit/c8785d1572b8b7d7dc4df3578e249312a30be4b9 PR-URL: https://github.com/nodejs/node/pull/27013 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'deps/v8')
-rw-r--r--deps/v8/include/v8-util.h2
-rw-r--r--deps/v8/include/v8.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/include/v8-util.h b/deps/v8/include/v8-util.h
index 466b99fd6b..2496260707 100644
--- a/deps/v8/include/v8-util.h
+++ b/deps/v8/include/v8-util.h
@@ -198,7 +198,7 @@ class PersistentValueMapBase {
* Call V8::RegisterExternallyReferencedObject with the map value for given
* key.
*/
- V8_DEPRECATE_SOON(
+ V8_DEPRECATED(
"Used TracedGlobal and EmbedderHeapTracer::RegisterEmbedderReference",
inline void RegisterExternallyReferencedObject(K& key));
diff --git a/deps/v8/include/v8.h b/deps/v8/include/v8.h
index 8bb2990c49..7346e0bbbc 100644
--- a/deps/v8/include/v8.h
+++ b/deps/v8/include/v8.h
@@ -549,7 +549,7 @@ template <class T> class PersistentBase {
* is alive. Only allowed when the embedder is asked to trace its heap by
* EmbedderHeapTracer.
*/
- V8_DEPRECATE_SOON(
+ V8_DEPRECATED(
"Used TracedGlobal and EmbedderHeapTracer::RegisterEmbedderReference",
V8_INLINE void RegisterExternalReference(Isolate* isolate) const);
@@ -572,7 +572,7 @@ template <class T> class PersistentBase {
*
* This bit is cleared after the each garbage collection pass.
*/
- V8_DEPRECATE_SOON("Use TracedGlobal.", V8_INLINE void MarkActive());
+ V8_DEPRECATED("Use TracedGlobal.", V8_INLINE void MarkActive());
V8_DEPRECATED("See MarkIndependent.", V8_INLINE bool IsIndependent() const);