Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avm1: Don't use a static AvmString for AVM1 array's length property #19480

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

moulins
Copy link
Contributor

@moulins moulins commented Feb 9, 2025

ArrayObject construction now requires an activation, so add ArrayObjectBuilder to simplify the process: it allows grabbing what we need from the activation (the interned length property name, and the array prototype) without running afoul of the borrow checker.

`ArrayObject` construction now requires an activation, so add
`ArrayObjectBuilder` to simplify the process: it allows grabbing what we need
from the activation (the interned `length` property name, and the array
prototype) without running afoul of the borrow checker.
@torokati44
Copy link
Member

Labels, please! 🥺

@torokati44 torokati44 added the A-avm1 Area: AVM1 (ActionScript 1 & 2) label Feb 12, 2025
@moulins moulins added the T-refactor Type: Refactor / Cleanup label Feb 12, 2025
@moulins moulins merged commit 14a13f6 into ruffle-rs:master Feb 12, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-avm1 Area: AVM1 (ActionScript 1 & 2) T-refactor Type: Refactor / Cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants