From 34cb5b9a757e26bdf62a904c52717cff5a0494a6 Mon Sep 17 00:00:00 2001 From: Georgy Bronnikov Date: Thu, 7 Feb 2019 16:30:05 +0300 Subject: [PATCH] Capitalization changes in descriptions --- .../kotlin/backend/konan/KonanLoweringPhases.kt | 15 +++++++-------- .../kotlin/backend/konan/ToplevelPhases.kt | 2 +- .../kotlin/backend/konan/llvm/BitcodePhases.kt | 9 ++++----- 3 files changed, 12 insertions(+), 14 deletions(-) diff --git a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/KonanLoweringPhases.kt b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/KonanLoweringPhases.kt index 830d79d9991..28cc507e0b2 100644 --- a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/KonanLoweringPhases.kt +++ b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/KonanLoweringPhases.kt @@ -155,7 +155,7 @@ internal val initializersPhase = makeKonanFileLoweringPhase( internal val sharedVariablesPhase = makeKonanFileLoweringPhase( ::SharedVariablesLowering, name = "SharedVariables", - description = "Shared Variable Lowering", + description = "Shared variable lowering", prerequisite = setOf(initializersPhase) ) @@ -165,14 +165,14 @@ internal val localFunctionsPhase = makeKonanFileOpPhase( LocalDeclarationsLowering(context).runOnFilePostfix(irFile) }, name = "LocalFunctions", - description = "Local Function Lowering", + description = "Local function lowering", prerequisite = setOf(sharedVariablesPhase) ) internal val tailrecPhase = makeKonanFileLoweringPhase( ::TailrecLowering, name = "Tailrec", - description = "tailrec lowering", + description = "Tailrec lowering", prerequisite = setOf(localFunctionsPhase) ) @@ -182,7 +182,7 @@ internal val defaultParameterExtentPhase = makeKonanFileOpPhase( KonanDefaultParameterInjector(context).lower(irFile) }, name = "DefaultParameterExtent", - description = "Default Parameter Extent Lowering", + description = "Default parameter extent lowering", prerequisite = setOf(tailrecPhase, enumConstructorsPhase) ) @@ -208,7 +208,7 @@ internal val dataClassesPhase = makeKonanFileLoweringPhase( internal val builtinOperatorPhase = makeKonanFileLoweringPhase( ::BuiltinOperatorLowering, name = "BuiltinOperators", - description = "BuiltIn Operators Lowering", + description = "BuiltIn operators lowering", prerequisite = setOf(defaultParameterExtentPhase) ) @@ -241,7 +241,7 @@ internal val delegationPhase = makeKonanFileLoweringPhase( internal val callableReferencePhase = makeKonanFileLoweringPhase( ::CallableReferenceLowering, name = "CallableReference", - description = "Callable references Lowering", + description = "Callable references lowering", prerequisite = setOf(delegationPhase) // TODO: make weak dependency on `testProcessorPhase` ) @@ -305,5 +305,4 @@ internal val returnsInsertionPhase = makeKonanFileLoweringPhase( name = "ReturnsInsertion", description = "Returns insertion for Unit functions", prerequisite = setOf(autoboxPhase, coroutinesPhase, enumClassPhase) -) - +) \ No newline at end of file diff --git a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/ToplevelPhases.kt b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/ToplevelPhases.kt index 30976bb3efb..9cdde6f52d9 100644 --- a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/ToplevelPhases.kt +++ b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/ToplevelPhases.kt @@ -223,7 +223,7 @@ internal val toplevelPhase = namedUnitPhase( ) then namedIrModulePhase( name = "Bitcode", - description = "LLVM BitCode Generation", + description = "LLVM Bitcode generation", lower = contextLLVMSetupPhase then RTTIPhase then generateDebugInfoHeaderPhase then diff --git a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/llvm/BitcodePhases.kt b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/llvm/BitcodePhases.kt index 428858dbeb7..c41e99d932c 100644 --- a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/llvm/BitcodePhases.kt +++ b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/llvm/BitcodePhases.kt @@ -12,7 +12,7 @@ import org.jetbrains.kotlin.ir.visitors.acceptVoid internal val contextLLVMSetupPhase = makeKonanModuleOpPhase( name = "ContextLLVMSetup", - description = "Set up Context for LLVM bitcode generation", + description = "Set up Context for LLVM Bitcode generation", op = { context, _ -> // Note that we don't set module target explicitly. // It is determined by the target of runtime.bc @@ -30,7 +30,7 @@ internal val contextLLVMSetupPhase = makeKonanModuleOpPhase( internal val RTTIPhase = makeKonanModuleOpPhase( name = "RTTI", - description = "RTTI Generation", + description = "RTTI generation", op = { context, irModule -> irModule.acceptVoid(RTTIGeneratorVisitor(context)) } ) @@ -129,7 +129,7 @@ internal val serializeDFGPhase = makeKonanModuleOpPhase( internal val codegenPhase = makeKonanModuleOpPhase( name = "Codegen", - description = "Code Generation", + description = "Code generation", op = { context, irModule -> irModule.acceptVoid(context.codegenVisitor) } @@ -171,5 +171,4 @@ internal val printBitcodePhase = makeKonanModuleOpPhase( context.printBitCode() } } -) - +) \ No newline at end of file