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

Stack closure soundness. #7363

Merged
merged 7 commits into from
Jun 29, 2013
Merged

Stack closure soundness. #7363

merged 7 commits into from
Jun 29, 2013

Conversation

bblum
Copy link
Contributor

@bblum bblum commented Jun 25, 2013

The commit f9a5453 is meant to be a temporary hold-over. Whether or not there is added a way for the compiler to "implicitly borrow" stack closures in this way, there should be a codegen optimization that prevents having to traverse possibly-very-many function pointers to find the function you ultimately wanted to call. I tried to separate out the changes so this particular commit could be straight-up reverted if auto-borrowing happens in the future.

r? @nikomatsakis

@nikomatsakis
Copy link
Contributor

OK, I left r+, you can address the two nits in a follow-up PR, just put r=nmatsakis

bors added a commit that referenced this pull request Jun 29, 2013
The commit f9a5453 is meant to be a temporary hold-over. Whether or not there is added a way for the compiler to "implicitly borrow" stack closures in this way, there should be a codegen optimization that prevents having to traverse possibly-very-many function pointers to find the function you ultimately wanted to call. I tried to separate out the changes so this particular commit could be straight-up reverted if auto-borrowing happens in the future.

r? @nikomatsakis
@bors bors closed this Jun 29, 2013
@bors bors merged commit d7544fe into rust-lang:master Jun 29, 2013
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.

3 participants