Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClemens Backes <clemensb@chromium.org>2019-10-18 17:18:36 +0300
committerAnna Henningsen <anna@addaleax.net>2019-11-09 01:25:01 +0300
commit69f19f4ccd3048512b9463e00bec531d720edae1 (patch)
treeace65ffe891d35cc3ba5f834a368e89f1d00a2d0 /src/node_messaging.h
parentda6dfd82a7fa4705af7d72335ee7311813843c5f (diff)
src: remove uses of deprecated wasm TransferrableModule
WasmModuleObject::TransferrableModule is deprecated and will be removed in V8 v8.0. Replace all uses by CompiledWasmModule. Refs: https://github.com/v8/node/pull/101 PR-URL: https://github.com/nodejs/node/pull/30026 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com>
Diffstat (limited to 'src/node_messaging.h')
-rw-r--r--src/node_messaging.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node_messaging.h b/src/node_messaging.h
index 32eedfb34f9..526158e144d 100644
--- a/src/node_messaging.h
+++ b/src/node_messaging.h
@@ -57,7 +57,7 @@ class Message : public MemoryRetainer {
void AddMessagePort(std::unique_ptr<MessagePortData>&& data);
// Internal method of Message that is called when a new WebAssembly.Module
// object is encountered in the incoming value's structure.
- uint32_t AddWASMModule(v8::WasmModuleObject::TransferrableModule&& mod);
+ uint32_t AddWASMModule(v8::CompiledWasmModule&& mod);
// The MessagePorts that will be transferred, as recorded by Serialize().
// Used for warning user about posting the target MessagePort to itself,
@@ -76,7 +76,7 @@ class Message : public MemoryRetainer {
std::vector<std::shared_ptr<v8::BackingStore>> array_buffers_;
std::vector<std::shared_ptr<v8::BackingStore>> shared_array_buffers_;
std::vector<std::unique_ptr<MessagePortData>> message_ports_;
- std::vector<v8::WasmModuleObject::TransferrableModule> wasm_modules_;
+ std::vector<v8::CompiledWasmModule> wasm_modules_;
friend class MessagePort;
};