Add runtime string concat options. Some renaming
This commit is contained in:
+10
@@ -334,6 +334,16 @@ class K2JVMCompilerArguments : CommonCompilerArguments() {
|
||||
)
|
||||
var emitJvmTypeAnnotations: Boolean by FreezableVar(false)
|
||||
|
||||
@Argument(
|
||||
value = "-Xruntime-string-concat",
|
||||
valueDescription = "{disable|enable|indy}",
|
||||
description = """Switch a way in which string concatenation is performed.
|
||||
-Xruntime-string-concat=enable Performs string concatenation via `invokedynamic` 'makeConcatWithConstants'. Works only with `-jvm-target 9` or greater
|
||||
-Xruntime-string-concat=indy Performs string concatenation via `invokedynamic` 'makeConcat'. Works only with `-jvm-target 9` or greater
|
||||
-Xruntime-string-concat=disable Performs string concatenation via `StringBuilder`"""
|
||||
)
|
||||
var runtimeStringConcat: String? by NullableStringFreezableVar(JvmRuntimeStringConcat.DISABLE.name.toLowerCase())
|
||||
|
||||
@Argument(
|
||||
value = "-Xklib",
|
||||
valueDescription = "<path>",
|
||||
|
||||
Reference in New Issue
Block a user