diff --git a/libraries/chain/webassembly/runtimes/eos-vm.cpp b/libraries/chain/webassembly/runtimes/eos-vm.cpp index 1d78a1a7fa..48610ee436 100644 --- a/libraries/chain/webassembly/runtimes/eos-vm.cpp +++ b/libraries/chain/webassembly/runtimes/eos-vm.cpp @@ -247,7 +247,7 @@ std::unique_ptr eos_vm_runtime::instan wasm_code_ptr code((uint8_t*)code_bytes, code_size); apply_options options = { .max_pages = 65536, .max_call_depth = 0 }; - std::unique_ptr bkend = std::make_unique(code, code_size, nullptr, options); + std::unique_ptr bkend = std::make_unique(code, code_size, nullptr, options, false); // uses 2-passes parsing eos_vm_host_functions_t::resolve(bkend->get_module()); return std::make_unique>(this, std::move(bkend)); } catch(eosio::vm::exception& e) { @@ -273,7 +273,7 @@ std::unique_ptr eos_vm_profile_runtime::inst wasm_code_ptr code((uint8_t*)code_bytes, code_size); apply_options options = { .max_pages = 65536, .max_call_depth = 0 }; - std::unique_ptr bkend = std::make_unique(code, code_size, nullptr, options); + std::unique_ptr bkend = std::make_unique(code, code_size, nullptr, options, false); // uses 2-passes parsing eos_vm_host_functions_t::resolve(bkend->get_module()); return std::make_unique(std::move(bkend), code_bytes, code_size); } catch(eosio::vm::exception& e) { diff --git a/libraries/eos-vm b/libraries/eos-vm index 7db4b33fa9..4da112c820 160000 --- a/libraries/eos-vm +++ b/libraries/eos-vm @@ -1 +1 @@ -Subproject commit 7db4b33fa92df545c0bae36c77369afb2631dc9e +Subproject commit 4da112c8209aaadbe9b03faa1727579e8dca3e8a