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

Building Projects: [YYC] Calls to a function that returns the current "self", "other" and "global" should be optimised out #9163

Closed
1 of 2 tasks
rwkay opened this issue Jan 27, 2025 · 2 comments
Assignees
Labels
feature request New feature (or a request for one)
Milestone

Comments

@rwkay
Copy link

rwkay commented Jan 27, 2025

Description

Currently YYC generates calls to functions that simply return current self, other and global - the compiler tracks these and should generate more efficient code.

Expected Change

Do not call the built in function, simply inline the current self, other or global

Steps To Reproduce

  1. Start GameMaker
  2. See the issue

How reliably can you recreate this issue using your steps above?

Always

Which version of GameMaker are you reporting this issue for?

2024.1300 (Betas)

Which platform(s) are you seeing the problem on?

Windows

Sample Package Attached?

  • I have attached my bug package

Sample Project Added?

  • I have included a small sample project
@rwkay rwkay added the runner-bug In-game bugs with the "GameMaker Studio 2" runtimes label Jan 27, 2025
@rwkay
Copy link
Author

rwkay commented Jan 27, 2025

@rwkay rwkay closed this as completed Jan 27, 2025
@github-project-automation github-project-automation bot moved this from Triage to Done in Team Workload Jan 27, 2025
@rwkay rwkay added this to the 2024.13 milestone Jan 27, 2025
@rwkay rwkay self-assigned this Jan 27, 2025
@rwkay rwkay reopened this Jan 27, 2025
@github-project-automation github-project-automation bot moved this from Done to Triage in Team Workload Jan 27, 2025
@rwkay
Copy link
Author

rwkay commented Jan 27, 2025

Actually fixed in 2024.13

@rwkay rwkay closed this as completed Jan 27, 2025
@github-project-automation github-project-automation bot moved this from Triage to Done in Team Workload Jan 27, 2025
@YYDan YYDan changed the title YYC generates calls to a function that returns the current self, other and global - should be optimised Building Projects: [YYC] Calls to a function that returns the current "self", "other" and "global" should be optimised out Jan 29, 2025
@YYDan YYDan added feature request New feature (or a request for one) and removed runner-bug In-game bugs with the "GameMaker Studio 2" runtimes labels Jan 29, 2025
@gurpreetsinghmatharoo gurpreetsinghmatharoo moved this from Done to Ready for QA in Team Workload Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature (or a request for one)
Projects
Status: Ready for QA
Development

No branches or pull requests

2 participants