From 800bcb9965dd6f3c1579b58250300be155529c25 Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Tue, 18 May 2021 01:39:29 +0430 Subject: [PATCH] LibWasm: Drop previous frame when a structured end instruction is run --- Userland/Libraries/LibWasm/AbstractMachine/Interpreter.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Userland/Libraries/LibWasm/AbstractMachine/Interpreter.cpp b/Userland/Libraries/LibWasm/AbstractMachine/Interpreter.cpp index bba01e621ec..d4ff51e6309 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());