LibWeb: Make GlobalObject the first parameter of WebAssembly AOs

Let's be consistent with the rest of LibJS (and the rest of the file).
This commit is contained in:
Idan Horowitz
2021-10-31 15:55:08 +02:00
parent b883652a83
commit a76cd669b1
Notes: sideshowbarker 2024-07-18 08:59:31 +09:00
5 changed files with 18 additions and 18 deletions

View File

@@ -66,7 +66,7 @@ JS::ThrowCompletionOr<JS::Object*> WebAssemblyTableConstructor::construct(Functi
if (value_value.is_undefined())
return Wasm::Value(*reference_type, 0ull);
return to_webassembly_value(value_value, *reference_type, global_object);
return to_webassembly_value(global_object, value_value, *reference_type);
}();
if (auto* exception = vm.exception())