Skip to content

Minor changes to reduce stack depth during emit #23882

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 2 commits into from
May 3, 2018
Merged

Conversation

rbuckton
Copy link
Contributor

@rbuckton rbuckton commented May 3, 2018

This is a subset of the changes found in #21754. This does not supersede that PR, as that PR contains additional more-aggressive changes. However, #21754 currently suffers from an as of yet undiagnosed performance regression. The minimal set of changes in this PR do not regress performance, but also do not fully resolve the issues referenced in #21754.

@rbuckton rbuckton requested review from weswigham and mhegazy May 3, 2018 23:09
Copy link
Member

@weswigham weswigham left a comment

Choose a reason for hiding this comment

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

Looks OK, the extra indentation in pipelineEmitWithHint makes me a bit sad, though.

return pipelineEmitWithHint;

default:
return Debug.assertNever(phase);
Copy link
Member

Choose a reason for hiding this comment

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

An error message here would be helpful if this somehow ever gets triggered and reported via telementry.

@rbuckton rbuckton merged commit b172311 into master May 3, 2018
@mhegazy mhegazy deleted the reduceStackDepthPart1 branch May 4, 2018 17:30
@microsoft microsoft locked and limited conversation to collaborators Jul 31, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants