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

Permit reduction of Some allocations for optional arguments #6533

Merged
merged 5 commits into from
Apr 16, 2019

Conversation

dsyme
Copy link
Contributor

@dsyme dsyme commented Apr 14, 2019

This is the fix for #6532.

Testing would be needed, however first I'll run this through CI as existing IL code generation testing may actually catch this.

@dsyme
Copy link
Contributor Author

dsyme commented Apr 14, 2019

OK, well, no tests failed so we have to add a test...

Copy link
Member

@KevinRansom KevinRansom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comment change, then this looks good to go.

// #NoMono #NoMT #CodeGen #EmittedIL #Tuples
type A() = class end

// A code+optimization pattern used in Fabulous, see https://github.com/Microsoft/visualfsharp/issues/6532
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we lose this comment. It makes life tricky when doing a pedigree scan.

@KevinRansom KevinRansom merged commit af5b4eb into dotnet:master Apr 16, 2019
@dsyme
Copy link
Contributor Author

dsyme commented Apr 17, 2019

What's a "pedigree scan"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants