Skip to content

Commit

Permalink
Merge pull request #1297 from glimmerjs/fix-stack-off-by-one
Browse files Browse the repository at this point in the history
Fix evaluation stack off-by-one error introduced in #1293
  • Loading branch information
chancancode committed Apr 22, 2021
2 parents 5c4def2 + 821b9dc commit 40fdd1b
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -87,8 +87,10 @@ export function CallDynamic(
op(Op.Fetch, $v0);
append();
op(MachineOp.PopFrame);
op(Op.Pop, 1);
} else {
op(MachineOp.PopFrame);
op(Op.Pop, 1);
op(Op.Fetch, $v0);
}
}
Expand Down

0 comments on commit 40fdd1b

Please sign in to comment.