mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 01:59:31 +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
Notes:
sideshowbarker
2024-07-18 17:23:04 +09:00
Author: https://github.com/alimpfard
Commit: d05e5dbdcf
Pull-request: https://github.com/SerenityOS/serenity/pull/7395
Reviewed-by: https://github.com/linusg
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