mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +00:00
LibWeb: Convert WebAssemblyObject functions to ThrowCompletionOr
This commit is contained in:
parent
3e8c76d5ab
commit
a8d39bc070
2 changed files with 9 additions and 9 deletions
|
@ -60,9 +60,9 @@ public:
|
|||
static Wasm::AbstractMachine s_abstract_machine;
|
||||
|
||||
private:
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(validate);
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(compile);
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(instantiate);
|
||||
JS_DECLARE_NATIVE_FUNCTION(validate);
|
||||
JS_DECLARE_NATIVE_FUNCTION(compile);
|
||||
JS_DECLARE_NATIVE_FUNCTION(instantiate);
|
||||
};
|
||||
|
||||
class WebAssemblyMemoryObject final : public JS::Object {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue