Skip to content
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

[IRGen] Emit calls to objc_allocWithZone(cls) when allocating obj-c objects. #5180

Merged
merged 1 commit into from Oct 11, 2016

Conversation

gregomni
Copy link
Collaborator

@gregomni gregomni commented Oct 7, 2016

Replaces objc_msgSend of +allocWithZone: with a direct C call to objc_allocWithZone(cls) when allocating obj-c objects.

Resolves SR-2875.

@gregomni
Copy link
Collaborator Author

gregomni commented Oct 7, 2016

@swift-ci Please test

As this is my first change to IRGen and thus a part of the code I'm much less familiar with, I'd appreciate any code reviews. Thanks!

@gparker42
Copy link
Contributor

Paging @rjmccall to the github courtesy phone.

@gparker42
Copy link
Contributor

@swift-ci please smoke test

@slavapestov
Copy link
Member

Looks good to me.

@slavapestov slavapestov merged commit 9a5a26b into apple:master Oct 11, 2016
@gparker42
Copy link
Contributor

Thanks, Greg!

@rjmccall
Copy link
Member

Looks good to me, too.

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.

None yet

4 participants