From 6566c151579d83625493c76e6792226874a14dfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Wed, 27 Mar 2019 17:57:28 +0100 Subject: [PATCH] deps: V8: silence irrelevant warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Backport-PR-URL: https://github.com/nodejs/node/pull/30513 PR-URL: https://github.com/nodejs/node/pull/26685 Reviewed-By: Anna Henningsen Reviewed-By: Michaƫl Zasso Reviewed-By: Refael Ackermann --- common.gypi | 2 +- deps/v8/include/v8.h | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/common.gypi b/common.gypi index 8c313aad9bf33a..6ce9c5e877fb10 100644 --- a/common.gypi +++ b/common.gypi @@ -39,7 +39,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.1', + 'v8_embedder_string': '-node.2', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/include/v8.h b/deps/v8/include/v8.h index 1387f747155660..615911ef469be7 100644 --- a/deps/v8/include/v8.h +++ b/deps/v8/include/v8.h @@ -4640,8 +4640,7 @@ class V8_EXPORT WasmModuleObject : public Object { * An opaque, native heap object for transferring wasm modules. It * supports move semantics, and does not support copy semantics. */ - using TransferrableModule V8_DEPRECATED("Use CompiledWasmModule directly") = - CompiledWasmModule; + using TransferrableModule = CompiledWasmModule; /** * Get an in-memory, non-persistable, and context-independent (meaning, @@ -7055,7 +7054,6 @@ class PromiseRejectMessage { typedef void (*PromiseRejectCallback)(PromiseRejectMessage message); // --- Microtasks Callbacks --- -V8_DEPRECATE_SOON("Use *WithData version.") typedef void (*MicrotasksCompletedCallback)(Isolate*); typedef void (*MicrotasksCompletedCallbackWithData)(Isolate*, void*); typedef void (*MicrotaskCallback)(void* data);