Support suspend functions lowering changes
(cherry picked from commit f4ac79e39cf9ca8685552ffd28a9595efd0df963)
This commit is contained in:
committed by
Vasily Levchenko
parent
c4a0f553b0
commit
13f5f1975a
+5
-2
@@ -275,8 +275,11 @@ internal val compileTimeEvaluatePhase = makeKonanFileLoweringPhase(
|
||||
prerequisite = setOf(varargPhase)
|
||||
)
|
||||
|
||||
internal val coroutinesPhase = makeKonanFileLoweringPhase(
|
||||
::NativeSuspendFunctionsLowering,
|
||||
internal val coroutinesPhase = makeKonanFileOpPhase(
|
||||
{ context, irFile ->
|
||||
NativeSuspendFunctionsLowering(context).lower(irFile)
|
||||
RemoveSuspendLambdas().lower(irFile)
|
||||
},
|
||||
name = "Coroutines",
|
||||
description = "Coroutines lowering",
|
||||
prerequisite = setOf(localFunctionsPhase, finallyBlocksPhase)
|
||||
|
||||
Reference in New Issue
Block a user