-
Notifications
You must be signed in to change notification settings - Fork 10.5k
IRGen: Invoke objc_opt_self directly when available. #30105
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
@swift-ci Please test |
Build failed |
Build failed |
We don't need swift_getInitializedObjCClass on new enough Apple OSes because the ObjC runtime provides an equivalent call for us.
c6c80b9
to
4abb548
Compare
@swift-ci Please test |
Build failed |
@swift-ci Please test |
Build failed |
Build failed |
@swift-ci Please test |
Build failed |
Build failed |
Swift CI tests backward deployment on different host OSes, so this should be covered in testing. The explicit target doesn't work well with `executable_test` since it leads to binaries with too-new minimum deployment targets getting executed on older host OSes.
@swift-ci Please test |
Build failed |
Build failed |
@swift-ci Please test |
We don't need swift_getInitializedObjCClass on new enough Apple OSes because
the ObjC runtime provides an equivalent call for us.