From 3bdbfc1e730c376f8a03ec2112ebead46ce15b52 Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Mon, 17 Aug 2020 18:30:17 +0200 Subject: [PATCH] Output total codegen statistics after IR translation/generation --- .../kotlin/cli/jvm/compiler/KotlinToJVMBytecodeCompiler.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/cli/src/org/jetbrains/kotlin/cli/jvm/compiler/KotlinToJVMBytecodeCompiler.kt b/compiler/cli/src/org/jetbrains/kotlin/cli/jvm/compiler/KotlinToJVMBytecodeCompiler.kt index 845c82a4561..24d6efa1b2b 100644 --- a/compiler/cli/src/org/jetbrains/kotlin/cli/jvm/compiler/KotlinToJVMBytecodeCompiler.kt +++ b/compiler/cli/src/org/jetbrains/kotlin/cli/jvm/compiler/KotlinToJVMBytecodeCompiler.kt @@ -427,7 +427,6 @@ object KotlinToJVMBytecodeCompiler { } CodegenFactory.doCheckCancelled(generationState) generationState.factory.done() - performanceManager?.notifyGenerationFinished() ProgressIndicatorAndCompilationCanceledStatus.checkCanceled() @@ -444,6 +443,7 @@ object KotlinToJVMBytecodeCompiler { ) performanceManager?.notifyIRGenerationFinished() + performanceManager?.notifyGenerationFinished() ProgressIndicatorAndCompilationCanceledStatus.checkCanceled() outputs[module] = generationState }