mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:18:11 +00:00
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:
parent
b883652a83
commit
a76cd669b1
5 changed files with 18 additions and 18 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue