From dfc66a6af42e23c7b2c3bdaa68f347278ca99524 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Thu, 16 Apr 2020 18:05:06 +0200 Subject: [PATCH] deps: V8: cherry-pick d1253ae95b09 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Original commit message: [unwinder] Advance deprecation of the old unwinder API Chrome uses the new version now. Bug: v8:8116 Change-Id: I59af8d2c6a897a852acd6de3a7938a4b8d3943e4 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2110015 Reviewed-by: Yang Guo Commit-Queue: Peter Marshall Cr-Commit-Position: refs/heads/master@{#66796} Refs: https://github.com/v8/v8/commit/d1253ae95b099d8ede3aacbdc5e5834ebd5d8865 PR-URL: https://github.com/nodejs/node/pull/32885 Reviewed-By: Michaël Zasso Reviewed-By: Ujjwal Sharma Reviewed-By: Gerhard Stöbich Reviewed-By: Beth Griggs --- common.gypi | 2 +- deps/v8/include/v8.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common.gypi b/common.gypi index 9bc099c6667..e0325c50efa 100644 --- a/common.gypi +++ b/common.gypi @@ -35,7 +35,7 @@ # Reset this number to 0 on major V8 upgrades. # Increment by one for each non-official patch applied to deps/v8. - 'v8_embedder_string': '-node.18', + 'v8_embedder_string': '-node.19', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/include/v8.h b/deps/v8/include/v8.h index 95f37ccc27b..63a1b6e686f 100644 --- a/deps/v8/include/v8.h +++ b/deps/v8/include/v8.h @@ -9180,7 +9180,7 @@ class V8_EXPORT Isolate { * Returns the UnwindState necessary for use with the Unwinder API. */ // TODO(petermarshall): Remove this API. - V8_DEPRECATE_SOON("Use entry_stubs + code_pages version.") + V8_DEPRECATED("Use entry_stubs + code_pages version.") UnwindState GetUnwindState(); /** @@ -10534,7 +10534,7 @@ class V8_EXPORT Unwinder { * \return True on success. */ // TODO(petermarshall): Remove this API - V8_DEPRECATE_SOON("Use entry_stubs + code_pages version.") + V8_DEPRECATED("Use entry_stubs + code_pages version.") static bool TryUnwindV8Frames(const UnwindState& unwind_state, RegisterState* register_state, const void* stack_base); @@ -10562,7 +10562,7 @@ class V8_EXPORT Unwinder { * (but not necessarily) be successful. */ // TODO(petermarshall): Remove this API - V8_DEPRECATE_SOON("Use code_pages version.") + V8_DEPRECATED("Use code_pages version.") static bool PCIsInV8(const UnwindState& unwind_state, void* pc); /**