mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:48:12 +00:00
LibWasm: Drop the correct number of frames
Prior to this commit, we would be dropping an extra frame.
This commit is contained in:
parent
a21ebae652
commit
d05e5dbdcf
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue