Skip to content

Cross-module-optimization: Mark stored class properties as usableFromInline if they are used in a ref_element_addr instruction. #28560

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
Dec 4, 2019

Conversation

eeckstein
Copy link
Contributor

Fixes a wrong linkage for direct field offset variables.

This is needed for cross-module-optimization.
So far only internal and private was supported.
…Inline if they are used in a ref_element_addr instruction.

Fixes a wrong linkage for direct field offset variables.
@eeckstein
Copy link
Contributor Author

@swift-ci smoke test and merge

@swift-ci swift-ci merged commit cb4d0fa into swiftlang:master Dec 4, 2019
@eeckstein eeckstein deleted the fix-cmo2 branch December 4, 2019 21:01
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