asyncic: coReturn

This commit is contained in:
Li Jie
2024-08-05 17:24:36 +08:00
parent b04ac8df30
commit d3df782fca
3 changed files with 29 additions and 36 deletions

View File

@@ -408,7 +408,7 @@ func (p *context) call(b llssa.Builder, act llssa.DoAction, call *ssa.CallCommon
case llgoCoResume:
p.coResume(b, args)
case llgoCoReturn:
p.coReturn(b, args)
p.coReturn(b, cv, args)
case llgoCoYield:
p.coYield(b, cv, args)
case llgoCoRun: