avm1: We already have our stack frame, don't refetch it in actions

This commit is contained in:
Nathan Adams 2020-06-26 17:57:38 +02:00
parent 3a093dddbd
commit 63e66c29eb
1 changed files with 1 additions and 5 deletions

View File

@ -1432,11 +1432,7 @@ impl<'a, 'gc: 'a> StackFrame<'a, 'gc> {
}
let constructor = self
.avm
.stack_frames
.last()
.unwrap()
.clone()
.activation
.read()
.resolve(&fn_name, self.avm, context)?
.resolve(self.avm, context)?