avm2: Properly push return value of `getsuper` in optimizer

This commit is contained in:
Lord-McSweeney 2024-07-09 09:06:56 +03:00 committed by Lord-McSweeney
parent 08b2c5d0d6
commit 604ac514b8
1 changed files with 3 additions and 0 deletions

View File

@ -1316,6 +1316,9 @@ pub fn optimize<'gc>(
// Receiver
stack.pop();
// Avoid checking return value for now
stack.push_any();
}
Op::SetSuper { multiname } => {
stack.pop();