JVM_IR: perform file lowerings in parallel

Selected by -Xir-run-lowerings-in-paralled compiler flag.
This commit is contained in:
Georgy Bronnikov
2020-10-20 18:28:03 +03:00
parent c06b345f3c
commit bea5d955d4
5 changed files with 49 additions and 1 deletions
@@ -114,6 +114,12 @@ class K2JVMCompilerArguments : CommonCompilerArguments() {
)
var doNotClearBindingContext: Boolean by FreezableVar(false)
@Argument(
value = "-Xir-run-lowerings-in-parallel",
description = "When using the IR backend, run lowerings for each file in parallel"
)
var runLoweringsInParallel: Boolean by FreezableVar(false)
@Argument(value = "-Xmodule-path", valueDescription = "<path>", description = "Paths where to find Java 9+ modules")
var javaModulePath: String? by NullableStringFreezableVar(null)