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
Notes: sideshowbarker 2024-07-18 17:22:50 +09:00

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());