[K/N] Moved couple of phases down the pipeline

This commit is contained in:
Igor Chevdar
2023-07-20 13:29:30 +03:00
committed by Space Team
parent ecb808992d
commit e8ca45378b
@@ -498,8 +498,6 @@ private val constEvaluationPhase = createFileLoweringPhase(
)
private fun PhaseEngine<NativeGenerationState>.getAllLowerings() = listOfNotNull<AbstractNamedCompilerPhase<NativeGenerationState, IrFile, IrFile>>(
removeExpectDeclarationsPhase,
stripTypeAliasDeclarationsPhase,
lowerBeforeInlinePhase,
arrayConstructorPhase,
lateinitPhase,
@@ -509,6 +507,8 @@ private fun PhaseEngine<NativeGenerationState>.getAllLowerings() = listOfNotNull
extractLocalClassesFromInlineBodies,
wrapInlineDeclarationsWithReifiedTypeParametersLowering,
inlinePhase,
removeExpectDeclarationsPhase,
stripTypeAliasDeclarationsPhase,
constEvaluationPhase,
provisionalFunctionExpressionPhase,
postInlinePhase,