swift
80ef1f51 - [test] Tweak new convenience init test for swift_test_mode=optimize

Commit
7 years ago
[test] Tweak new convenience init test for swift_test_mode=optimize 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
Author
Committer
Parents
Loading