diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/llvm/BitcodePhases.kt b/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/llvm/BitcodePhases.kt index b3379c7bf7b..1289ad47114 100644 --- a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/llvm/BitcodePhases.kt +++ b/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/llvm/BitcodePhases.kt @@ -109,7 +109,7 @@ internal val buildDFGPhase = makeKonanModuleOpPhase( internal val returnsInsertionPhase = makeKonanModuleOpPhase( name = "ReturnsInsertion", description = "Returns insertion for Unit functions", - prerequisite = setOf(autoboxPhase, coroutinesPhase, enumClassPhase), + //prerequisite = setOf(autoboxPhase, coroutinesPhase, enumClassPhase), TODO: if there are no files in the module, this requirement fails. op = { context, irModule -> irModule.files.forEach { ReturnsInsertionLowering(context).lower(it) } } )