File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed
Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -327,6 +327,7 @@ std::unique_ptr<WasmVm> V8::clone() {
327327
328328 clone->module_ = wasm::Module::obtain (clone->store_ .get (), shared_module_.get ());
329329 clone->function_names_index_ = function_names_index_;
330+ clone->abi_version_ = abi_version_;
330331
331332 return clone;
332333}
Original file line number Diff line number Diff line change @@ -157,6 +157,8 @@ std::unique_ptr<WasmVm> Wasmtime::clone() {
157157 clone->integration ().reset (integration ()->clone ());
158158 clone->store_ = wasm_store_new (engine ());
159159 clone->module_ = wasm_module_obtain (clone->store_ .get (), shared_module_.get ());
160+ clone->abi_version_ = abi_version_;
161+
160162 return clone;
161163}
162164
Original file line number Diff line number Diff line change @@ -279,6 +279,7 @@ Wavm::~Wavm() {
279279std::unique_ptr<WasmVm> Wavm::clone () {
280280 auto wavm = std::make_unique<Wavm>();
281281 wavm->integration ().reset (integration ()->clone ());
282+ wavm->abi_version_ = abi_version_;
282283
283284 wavm->compartment_ = WAVM::Runtime::cloneCompartment (compartment_);
284285 wavm->memory_ = WAVM::Runtime::remapToClonedCompartment (memory_, wavm->compartment_ );
You can’t perform that action at this time.
0 commit comments