mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 18:19:03 +00:00
LibWasm: Let the interpreter itself manage the call frame
This commit is contained in:
parent
85794f8244
commit
477ab6dc4c
Notes:
sideshowbarker
2024-07-18 17:19:35 +09:00
Author: https://github.com/alimpfard
Commit: 477ab6dc4c
Pull-request: https://github.com/SerenityOS/serenity/pull/7482
Reviewed-by: https://github.com/ADKaster
3 changed files with 18 additions and 2 deletions
|
@ -193,7 +193,7 @@ static bool pre_interpret_hook(Wasm::Configuration& config, Wasm::InstructionPoi
|
|||
|
||||
Wasm::Result result { Wasm::Trap {} };
|
||||
{
|
||||
Wasm::Configuration::CallFrameHandle handle { config };
|
||||
Wasm::BytecodeInterpreter::CallFrameHandle handle { g_interpreter, config };
|
||||
result = config.call(g_interpreter, *address, move(values));
|
||||
}
|
||||
if (result.is_trap())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue