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

Make a copy of env on heap for closure [C backend] #12689

Closed
wants to merge 1 commit into from

Conversation

foldl
Copy link
Contributor

@foldl foldl commented Nov 20, 2019

This fixes part of the issue #12625. vm & other backends also need
update.

Possible optimization: If liveness analysis of closure shows that its scope is not larger than env,
then we don't need to make the copy on heap.

This fixes part of the issue nim-lang#12625. vm & other backends also need
update.
@foldl foldl closed this Nov 22, 2019
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