diff options
Diffstat (limited to 'Userland/Libraries/LibWasm/AbstractMachine/Interpreter.cpp')
-rw-r--r-- | Userland/Libraries/LibWasm/AbstractMachine/Interpreter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<NonnullOwnPtr<Label>>()) { - if (drop_count-- == 0) + if (--drop_count == 0) break; } configuration.stack().pop(); |