@@ -343,7 +343,8 @@ bool V8::link(std::string_view /*debug_name*/) {
343
343
assert (module_ != nullptr );
344
344
345
345
const auto import_types = module_.get ()->imports ();
346
- wasm::vec<wasm::Extern *> imports = wasm::vec<wasm::Extern*>::make_uninitialized (import_types.size ());
346
+ wasm::vec<wasm::Extern *> imports =
347
+ wasm::vec<wasm::Extern *>::make_uninitialized (import_types.size ());
347
348
348
349
for (size_t i = 0 ; i < import_types.size (); i++) {
349
350
std::string_view module (import_types[i]->module ().get (), import_types[i]->module ().size ());
@@ -527,7 +528,8 @@ void V8::registerHostFunctionImpl(std::string_view module_name, std::string_view
527
528
convertArgsTupleToValTypes<std::tuple<>>());
528
529
auto func = wasm::Func::make (
529
530
store_.get (), type.get (),
530
- [](void *data, const wasm::vec<wasm::Val>& params, wasm::vec<wasm::Val>& /* results*/ ) -> wasm::own<wasm::Trap> {
531
+ [](void *data, const wasm::vec<wasm::Val> ¶ms,
532
+ wasm::vec<wasm::Val> & /* results*/ ) -> wasm::own<wasm::Trap> {
531
533
auto *func_data = reinterpret_cast <FuncData *>(data);
532
534
const bool log = func_data->vm_ ->cmpLogLevel (LogLevel::trace);
533
535
if (log) {
@@ -563,7 +565,8 @@ void V8::registerHostFunctionImpl(std::string_view module_name, std::string_view
563
565
convertArgsTupleToValTypes<std::tuple<R>>());
564
566
auto func = wasm::Func::make (
565
567
store_.get (), type.get (),
566
- [](void *data, const wasm::vec<wasm::Val>& params, wasm::vec<wasm::Val>& results) -> wasm::own<wasm::Trap> {
568
+ [](void *data, const wasm::vec<wasm::Val> ¶ms,
569
+ wasm::vec<wasm::Val> &results) -> wasm::own<wasm::Trap> {
567
570
auto *func_data = reinterpret_cast <FuncData *>(data);
568
571
const bool log = func_data->vm_ ->cmpLogLevel (LogLevel::trace);
569
572
if (log) {
0 commit comments