1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:57:45 +00:00

LibWasm: Drop previous frame when a structured end instruction is run

This commit is contained in:
Ali Mohammad Pur 2021-05-18 01:39:29 +04:30 committed by Ali Mohammad Pur
parent 7966168fea
commit 800bcb9965

View file

@ -405,7 +405,6 @@ void Interpreter::interpret(Configuration& configuration, InstructionPointer& ip
return;
}
case Instructions::structured_end.value():
return;
case Instructions::structured_else.value(): {
auto label = configuration.nth_label(0);
TRAP_IF_NOT(label.has_value());