Revert "Support suspend functions lowering changes"

This reverts commit f4ac79e3

(cherry picked from commit 438e3ebc24545837bdd3ccf6bbe185c8630822ff)
This commit is contained in:
Anton Bannykh
2020-02-12 18:57:24 +03:00
committed by Vasily Levchenko
parent 1a15483951
commit 8d78908d8c
@@ -275,11 +275,8 @@ internal val compileTimeEvaluatePhase = makeKonanFileLoweringPhase(
prerequisite = setOf(varargPhase)
)
internal val coroutinesPhase = makeKonanFileOpPhase(
{ context, irFile ->
NativeSuspendFunctionsLowering(context).lower(irFile)
RemoveSuspendLambdas().lower(irFile)
},
internal val coroutinesPhase = makeKonanFileLoweringPhase(
::NativeSuspendFunctionsLowering,
name = "Coroutines",
description = "Coroutines lowering",
prerequisite = setOf(localFunctionsPhase, finallyBlocksPhase)