This refactors some implementation bits of https://github.com/swiftlang/swift/pull/71653 (and effectively reverts some parts of it). In particular, it implements the coroutine call in terms of CallEmission rather than relying on implementation details of CallEmission.
Simplify the code while here.
This refactors some implementation bits of https://github.com/swiftlang/swift/pull/71653 (and effectively reverts some parts of it). In particular, it implements the coroutine call in terms of CallEmission rather than relying on implementation details of CallEmission.