[IR] Moved up a lowering
This concerns NothingValueExceptionLowering - it must be run before the suspend functions lowering (see codegen/coroutines/returnsNothing1 why)
This commit is contained in:
+1
-1
@@ -309,7 +309,7 @@ internal val coroutinesPhase = makeKonanFileLoweringPhase(
|
||||
::NativeSuspendFunctionsLowering,
|
||||
name = "Coroutines",
|
||||
description = "Coroutines lowering",
|
||||
prerequisite = setOf(localFunctionsPhase, finallyBlocksPhase)
|
||||
prerequisite = setOf(localFunctionsPhase, finallyBlocksPhase, kotlinNothingValueExceptionPhase)
|
||||
)
|
||||
|
||||
internal val typeOperatorPhase = makeKonanFileLoweringPhase(
|
||||
|
||||
+1
-1
@@ -351,11 +351,11 @@ internal val allLoweringsPhase = namedIrModulePhase(
|
||||
interopPhase then
|
||||
varargPhase then
|
||||
compileTimeEvaluatePhase then
|
||||
kotlinNothingValueExceptionPhase then
|
||||
coroutinesPhase then
|
||||
typeOperatorPhase then
|
||||
bridgesPhase then
|
||||
autoboxPhase then
|
||||
kotlinNothingValueExceptionPhase then
|
||||
returnsInsertionPhase
|
||||
),
|
||||
actions = setOf(defaultDumper, ::moduleValidationCallback)
|
||||
|
||||
Reference in New Issue
Block a user