Skip to content

Reduce usage of expression depth maps #28221

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
Nov 13, 2019

Conversation

DougGregor
Copy link
Member

@DougGregor DougGregor commented Nov 13, 2019

Eliminate most uses of the expression "depth maps", which is now something only produced/queried in one part of the constraint system. This will make it easier to generalize the notion for use in the solver.

…or cleanup.

Rather than passing around or create depth maps at a few places in the
constraint solver, introduce getExprDepth() and use it consistently.
@DougGregor DougGregor requested a review from xedin November 13, 2019 01:22
@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor DougGregor merged commit 23edd22 into swiftlang:master Nov 13, 2019
@DougGregor DougGregor deleted the reduce-depth-maps branch November 13, 2019 04:43
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