From 3ee1e114c9e3eb65d0efc4f2fa2bbad4d473bca8 Mon Sep 17 00:00:00 2001 From: Konstantin Anisimov Date: Thu, 18 May 2017 16:48:08 +0700 Subject: [PATCH] Establish dependency LOWER_INLINE -> LOWER_INLINE_CONSTRUCTORS --- .../src/org/jetbrains/kotlin/backend/konan/KonanPhases.kt | 2 +- .../konan/lower/InlineConstructorsTransformation.kt | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/KonanPhases.kt b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/KonanPhases.kt index 0523be033a0..c5ef1269159 100644 --- a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/KonanPhases.kt +++ b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/KonanPhases.kt @@ -28,7 +28,7 @@ enum class KonanPhase(val description: String, /* */ BACKEND("All backend"), /* ... */ LOWER("IR Lowering"), /* ... ... */ LOWER_INLINE_CONSTRUCTORS("Inline constructors transformation"), - /* ... ... */ LOWER_INLINE("Functions inlining"), + /* ... ... */ LOWER_INLINE("Functions inlining", LOWER_INLINE_CONSTRUCTORS), /* ... ... ... */ DESERIALIZER("Deserialize inline bodies"), /* ... ... */ LOWER_ENUMS("Enum classes lowering"), /* ... ... */ LOWER_DELEGATION("Delegation lowering"), diff --git a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/lower/InlineConstructorsTransformation.kt b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/lower/InlineConstructorsTransformation.kt index bd45b542ccd..ab6e213e8b0 100644 --- a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/lower/InlineConstructorsTransformation.kt +++ b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/lower/InlineConstructorsTransformation.kt @@ -169,10 +169,4 @@ internal class InlineConstructorsTransformation(val context: Context): IrElement override fun visitElement(element: IrElement) = element.accept(this, null) } -} - - - - - - +} \ No newline at end of file