Create only one OpaqueValue for await_ready/await_suspend/await_resume.
Store OpaqueValue used in the CoroutineSuspendExpr node, so that CodeGen does not have to hunt looking for it.
Details
Details
- Reviewers
aaron.ballman EricWF rsmith - Commits
- rGce43bd224293: [coroutines] Refactor SuspendExpr to create just one OpaqueValue (almost NFC)
rC297541: [coroutines] Refactor SuspendExpr to create just one OpaqueValue (almost NFC)
rL297541: [coroutines] Refactor SuspendExpr to create just one OpaqueValue (almost NFC)
Diff Detail
Diff Detail