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