From 778b04ae34ff8204c8b1ef6ddf3c6dc0b91cfc48 Mon Sep 17 00:00:00 2001 From: Georgy Bronnikov Date: Mon, 30 Aug 2021 14:42:57 +0300 Subject: [PATCH] JVM_IR: rename -Xparallel-backend-threads to -Xbackend-threads --- .../kotlin/cli/common/arguments/K2JVMCompilerArguments.kt | 3 ++- compiler/testData/cli/jvm/extraHelp.out | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/K2JVMCompilerArguments.kt b/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/K2JVMCompilerArguments.kt index 4a0d11b8c4b..434b1f08738 100644 --- a/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/K2JVMCompilerArguments.kt +++ b/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/K2JVMCompilerArguments.kt @@ -128,7 +128,8 @@ class K2JVMCompilerArguments : CommonCompilerArguments() { var doNotClearBindingContext: Boolean by FreezableVar(false) @Argument( - value = "-Xparallel-backend-threads", + value = "-Xbackend-threads", + valueDescription = "", description = "When using the IR backend, run lowerings by file in N parallel threads.\n" + "0 means use a thread per processor core.\n" + "Default value is 1" diff --git a/compiler/testData/cli/jvm/extraHelp.out b/compiler/testData/cli/jvm/extraHelp.out index be7c4d82522..713edb583af 100644 --- a/compiler/testData/cli/jvm/extraHelp.out +++ b/compiler/testData/cli/jvm/extraHelp.out @@ -96,7 +96,7 @@ where advanced options include: * ignore * strict * warn (report a warning) - -Xparallel-backend-threads When using the IR backend, run lowerings by file in N parallel threads. + -Xbackend-threads= When using the IR backend, run lowerings by file in N parallel threads. 0 means use a thread per processor core. Default value is 1 -Xprofile=