diff --git a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/lower/InteropLowering.kt b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/lower/InteropLowering.kt index 58dac7de675..e8acb9d9c0b 100644 --- a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/lower/InteropLowering.kt +++ b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/lower/InteropLowering.kt @@ -17,7 +17,6 @@ import org.jetbrains.kotlin.backend.konan.descriptors.isInterface import org.jetbrains.kotlin.backend.konan.descriptors.synthesizedName import org.jetbrains.kotlin.backend.konan.ir.* import org.jetbrains.kotlin.backend.konan.ir.companionObject -import org.jetbrains.kotlin.backend.konan.objcexport.namePrefix import org.jetbrains.kotlin.backend.konan.llvm.IntrinsicType import org.jetbrains.kotlin.backend.konan.llvm.llvmSymbolOrigin import org.jetbrains.kotlin.backend.konan.llvm.tryGetIntrinsicType @@ -77,7 +76,7 @@ internal abstract class BaseInteropIrTransformer(private val context: Context) : } override fun getUniqueCName(prefix: String) = - "_${context.moduleDescriptor.namePrefix}_${context.cStubsManager.getUniqueName(prefix)}" + "_${context.cStubsManager.getUniqueName(prefix)}" // Ok in absence of separate compilation override fun getUniqueKotlinFunctionReferenceClassName(prefix: String) = "$prefix${context.functionReferenceCount++}"