mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:07:46 +00:00
LibWeb: Add the WebAssembly.Instance constructor
This commit is contained in:
parent
de4cbc8f08
commit
8acc8339d1
6 changed files with 173 additions and 50 deletions
|
@ -28,6 +28,8 @@ public:
|
|||
|
||||
virtual void visit_edges(Cell::Visitor&) override;
|
||||
|
||||
static Result<size_t, JS::Value> instantiate_module(Wasm::Module const&, JS::VM&, JS::GlobalObject&);
|
||||
|
||||
struct CompiledWebAssemblyModule {
|
||||
explicit CompiledWebAssemblyModule(Wasm::Module&& module)
|
||||
: module(move(module))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue