Output total codegen statistics after IR translation/generation

This commit is contained in:
Alexander Udalov
2020-08-17 18:30:17 +02:00
parent c3cbcf6d7f
commit 3bdbfc1e73
@@ -427,7 +427,6 @@ object KotlinToJVMBytecodeCompiler {
} }
CodegenFactory.doCheckCancelled(generationState) CodegenFactory.doCheckCancelled(generationState)
generationState.factory.done() generationState.factory.done()
performanceManager?.notifyGenerationFinished()
ProgressIndicatorAndCompilationCanceledStatus.checkCanceled() ProgressIndicatorAndCompilationCanceledStatus.checkCanceled()
@@ -444,6 +443,7 @@ object KotlinToJVMBytecodeCompiler {
) )
performanceManager?.notifyIRGenerationFinished() performanceManager?.notifyIRGenerationFinished()
performanceManager?.notifyGenerationFinished()
ProgressIndicatorAndCompilationCanceledStatus.checkCanceled() ProgressIndicatorAndCompilationCanceledStatus.checkCanceled()
outputs[module] = generationState outputs[module] = generationState
} }