diff --git a/Userland/Libraries/LibWasm/AbstractMachine/Interpreter.cpp b/Userland/Libraries/LibWasm/AbstractMachine/Interpreter.cpp index 68312a5f3c..05f2d68917 100644 --- a/Userland/Libraries/LibWasm/AbstractMachine/Interpreter.cpp +++ b/Userland/Libraries/LibWasm/AbstractMachine/Interpreter.cpp @@ -59,7 +59,7 @@ void Interpreter::branch_to_label(Configuration& configuration, LabelIndex index for (; !configuration.stack().is_empty();) { auto& entry = configuration.stack().peek(); if (entry.has>()) { - if (drop_count-- == 0) + if (--drop_count == 0) break; } configuration.stack().pop();