Skip to content

[IRGen] Bind wtables at open_pack_element. #63502

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

Conversation

nate-chandler
Copy link
Contributor

Based on #63424 .

Call out to the infrastructure for emitting witness table packs to emit references to individual witness tables when binding opened archetypes during open_pack_element.

A cache lookup is done at the beginning of emitArchetypeWitnessTableRef
but the result is never cached.
This mostly mirrors what's already implemented for metadata pack emission.
And shuffled generic parameters.
Call out to the infrastructure for emitting witness table packs to emit
references to individual witness tables when binding opened archetypes
during open_pack_element.
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler nate-chandler marked this pull request as ready for review February 8, 2023 02:13
@nate-chandler nate-chandler merged commit ddf0936 into swiftlang:main Feb 8, 2023
@nate-chandler nate-chandler deleted the variadic-generics/irgen/open_pack_element_witnesses branch February 8, 2023 04:46
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