Skip to content

Eliminate most uses of SubstitutionList #16563

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 17 commits into from
May 12, 2018

Conversation

DougGregor
Copy link
Member

Switch most clients of SubstitutionList over to SubstitutionMap, including:

  • All of SILGen's LValue infrastructure
  • SILGen's key-path emission code
  • Call emission in SILGen and IRGen
  • Lots of helpers that trafficked in SubstitutionList but are no longer used.

@DougGregor
Copy link
Member Author

@swift-ci please smoke test macOS

@DougGregor
Copy link
Member Author

@swift-ci please test Linux

@DougGregor
Copy link
Member Author

@swift-ci please test source compatibility

@DougGregor
Copy link
Member Author

Down to 25 utterances of "SubstitutionList" in the code base.

@slavapestov
Copy link
Contributor

For some reason my comments don’t show up properly. But feel free to fix those in a follow up patch.

@DougGregor
Copy link
Member Author

I'm going to merge and address your comments in a follow-up PR.

@DougGregor DougGregor merged commit 14b1499 into swiftlang:master May 12, 2018
@DougGregor DougGregor deleted the kill-more-substitution-lists branch May 12, 2018 03:51
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