Skip to content

RFC: create an extra slot for arguments that get assigned #16410

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

Merged
merged 1 commit into from
Jun 6, 2016

Conversation

JeffBezanson
Copy link
Member

This implements the idea in #16159 (comment). With this, we can assume arguments are not assigned, and the assigned varinfo flag is no longer needed. This brings us tantalizingly close to not needing var flags at all. This will also allow us to remove linfo.specTypes as discussed in #16159.

@vtjnash
Copy link
Member

vtjnash commented Jun 4, 2016

lgtm. needs rebase.

It simplifies later analysis to assume that arguments are not overwritten.
This could simplify codegen a bit more in the future, but for now we are
generating stack slots for arguments anyway, for debug info.
@JeffBezanson
Copy link
Member Author

Thanks for the rebase.

@vtjnash vtjnash merged commit c1362e2 into master Jun 6, 2016
@vtjnash vtjnash deleted the jb/const_args branch June 6, 2016 01:44
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