diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/lower/NativeInlineFunctionResolver.kt b/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/lower/NativeInlineFunctionResolver.kt index 1a75c167c288a..8d66ca1a82da1 100644 --- a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/lower/NativeInlineFunctionResolver.kt +++ b/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/lower/NativeInlineFunctionResolver.kt @@ -62,11 +62,9 @@ internal class NativeInlineFunctionResolver( if (shouldLower) { lower(function, functionIsCached) - if (!functionIsCached) { - function.getOrSaveLoweredInlineFunction() - } } - return function + + return function.getOrSaveLoweredInlineFunction() } private fun lower(function: IrFunction, functionIsCached: Boolean) {