diff --git a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/llvm/IrToBitcode.kt b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/llvm/IrToBitcode.kt index 59b685d810c..5a6efcc35c5 100644 --- a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/llvm/IrToBitcode.kt +++ b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/llvm/IrToBitcode.kt @@ -386,7 +386,7 @@ internal class CodeGeneratorVisitor(val context: Context) : IrElementVisitorVoid /** * The scope of variable visibility. */ - open private inner class VariableScope : InnerScopeImpl() { + private inner class VariableScope : InnerScopeImpl() { override fun genDeclareVariable(descriptor: VariableDescriptor, value: LLVMValueRef?): Int { return codegen.vars.createVariable(descriptor to this, value)