IR: thread pool in PerformByIrFilePhase

This commit is contained in:
Georgy Bronnikov
2020-11-05 09:59:38 +03:00
parent eae416d739
commit 52b3cb362b
5 changed files with 32 additions and 21 deletions
@@ -52,8 +52,8 @@ object CommonConfigurationKeys {
val USE_FIR_EXTENDED_CHECKERS = CompilerConfigurationKey.create<Boolean>("fir extended checkers")
@JvmField
val RUN_LOWERINGS_IN_PARALLEL =
CompilerConfigurationKey.create<Boolean>("When using the IR backend, run lowerings for each file in parallel")
val THREADS_FOR_FILE_LOWERINGS =
CompilerConfigurationKey.create<Int>("When using the IR backend, run lowerings by file in N parallel threads")
}
var CompilerConfiguration.languageVersionSettings: LanguageVersionSettings