Skip to content

[test] Tweak new convenience init test for swift_test_mode=optimize #21861

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

jrose-apple
Copy link
Contributor

The optimizer was smart enough to stack-promote the test objects I was using, which foiled my interposition on swift_allocObject. Change the tests to "escape" each allocation by returning it.

rdar://problem/47266149

The optimizer was smart enough to stack-promote the test objects I was
using, which foiled my interposition on swift_allocObject. Change the
tests to "escape" each allocation by returning it.

rdar://problem/47266149
@jrose-apple jrose-apple requested a review from jckarter January 15, 2019 00:17
@jrose-apple
Copy link
Contributor Author

@swift-ci Please smoke test and merge

@swift-ci swift-ci merged commit 4d600ff into swiftlang:master Jan 15, 2019
@jrose-apple jrose-apple deleted the and-you-get-a-promotion-and-you-get-a-promotion branch January 15, 2019 01:24
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