From bf74bd76a71541a889fee9170e8a95a43a2320e0 Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Wed, 22 Jul 2020 16:52:51 +0200 Subject: [PATCH] IR: cleanup expression implementations Remove unused constructors with descriptors, minimize usages of secondary constructors and make some properties non-lateinit, fix some inspections. (cherry picked from commit 98ad94e630f86bd2c92fc8e2cf0f8796de6002cc) --- .../kotlin/backend/konan/llvm/IrToBitcode.kt | 2 +- .../backend/konan/lower/FinallyBlocksLowering.kt | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) 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 6dffef043ff..fa0bb8c20b1 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 @@ -1098,7 +1098,7 @@ internal class CodeGeneratorVisitor(val context: Context, val lifetimes: Map