Skip to content

Put function arguments into a local, to be optimised later #6967

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

Open
wants to merge 97 commits into
base: master
Choose a base branch
from

Conversation

vaivaswatha
Copy link
Contributor

@vaivaswatha vaivaswatha commented Feb 27, 2025

Description

This is the third PR to address #6351. It allows safely taking addresses of function arguments.

Note: The entire function type_correction (in ir_generation.rs) and the edit in compile.rs to handle return values must be removed once we fix and finalize the syntax of references. Until then these two hacks need to stay. Ideally I wanted to put them both in one place (which is the type_correction pass), but the return type fix needs to happen, unfortunately, during IR gen.

vaivaswatha and others added 30 commits February 6, 2025 17:01
This is the third PR to address #6351. It allows safely
taking addresses of function arguments.
@vaivaswatha vaivaswatha marked this pull request as ready for review May 28, 2025 16:18
@vaivaswatha vaivaswatha requested review from a team as code owners May 28, 2025 16:18
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.

2 participants