summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorAli Mohammad Pur <ali.mpfard@gmail.com>2021-05-18 01:39:29 +0430
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2021-05-26 15:34:13 +0430
commit800bcb9965dd6f3c1579b58250300be155529c25 (patch)
tree475679ec8c72bb64ec5331e557493a998f24aa36 /Userland
parent7966168fea9c5404c41818bf809d21c79db0313e (diff)
downloadserenity-800bcb9965dd6f3c1579b58250300be155529c25.zip
LibWasm: Drop previous frame when a structured end instruction is run
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibWasm/AbstractMachine/Interpreter.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWasm/AbstractMachine/Interpreter.cpp b/Userland/Libraries/LibWasm/AbstractMachine/Interpreter.cpp
index bba01e621e..d4ff51e630 100644
--- a/Userland/Libraries/LibWasm/AbstractMachine/Interpreter.cpp
+++ b/Userland/Libraries/LibWasm/AbstractMachine/Interpreter.cpp
@@ -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());