mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 11:37:16 +02: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:
Notes:
sideshowbarker
2024-07-18 08:59:31 +09:00
Author: https://github.com/IdanHo Commit: https://github.com/SerenityOS/serenity/commit/a76cd669b1e Pull-request: https://github.com/SerenityOS/serenity/pull/10728
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user