Skip to content

[6.2] Add an "addressable for dependencies" flag to value witness flags. #82344

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

jckarter
Copy link
Contributor

Explanation: This may be useful for type layout of borrow fields in the future, should we decide that addressable-for-dependencies borrows should always be represented by a pointer.

Scope: ABI change in support of future work.

Issue: rdar://153650278

Original PR: #82323

Risk: Low. Reserves a previously-unused metadata bit.

Testing: Swift CI

Reviewers: TBD

@jckarter jckarter requested a review from a team as a code owner June 18, 2025 17:06
@jckarter
Copy link
Contributor Author

@swift-ci Please test

This may be useful for type layout of borrow fields in the future, should we
decide that addressable-for-dependencies borrows should always be represented
by a pointer. rdar://153650278
@jckarter jckarter force-pushed the addressable-for-dependencies-vw-flag-6.2 branch from 60841ad to 009ce4b Compare June 18, 2025 19:47
@jckarter
Copy link
Contributor Author

@swift-ci Please test

@atrick
Copy link
Contributor

atrick commented Jun 30, 2025

LGTM for 6.2

@jckarter jckarter merged commit f299c6a into swiftlang:release/6.2 Jun 30, 2025
5 checks passed
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.

3 participants