Skip to content

SceneAgbGhost: match _14#13

Open
LucasPicoli wants to merge 1 commit into
conhlee:masterfrom
LucasPicoli:match/agbghost-_14
Open

SceneAgbGhost: match _14#13
LucasPicoli wants to merge 1 commit into
conhlee:masterfrom
LucasPicoli:match/agbghost-_14

Conversation

@LucasPicoli

Copy link
Copy Markdown

Cache the createCellAnim result and mDoorAnim in locals so the door-mask setPosX/setPosY don't reload the member pointers (aliasing) between the two stores, matching the target's codegen.

The door-mask position copy reloaded mDoorMaskAnim and mDoorAnim between
setPosX and setPosY because the member-pointer stores could alias. Caching
the createCellAnim result and mDoorAnim in locals keeps both pointers live
across the inlined stores, matching the target's codegen.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant