mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-18 08:20:44 +00:00
LibWasm: Drop previous frame when a structured end instruction is run
This commit is contained in:
parent
7966168fea
commit
800bcb9965
Notes:
sideshowbarker
2024-07-18 17:22:50 +09:00
Author: https://github.com/alimpfard
Commit: 800bcb9965
Pull-request: https://github.com/SerenityOS/serenity/pull/7395
Reviewed-by: https://github.com/linusg
1 changed files with 0 additions and 1 deletions
|
@ -405,7 +405,6 @@ void Interpreter::interpret(Configuration& configuration, InstructionPointer& ip
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
case Instructions::structured_end.value():
|
case Instructions::structured_end.value():
|
||||||
return;
|
|
||||||
case Instructions::structured_else.value(): {
|
case Instructions::structured_else.value(): {
|
||||||
auto label = configuration.nth_label(0);
|
auto label = configuration.nth_label(0);
|
||||||
TRAP_IF_NOT(label.has_value());
|
TRAP_IF_NOT(label.has_value());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue