Native: remove obsolete compiler flags that have no effect

Same for compiler configuration keys.
This commit is contained in:
Svyatoslav Scherbina
2022-10-07 13:48:39 +02:00
committed by Space Team
parent b6f950ed75
commit 28dea9d949
3 changed files with 2 additions and 44 deletions
@@ -153,9 +153,6 @@ class K2NativeCompilerArguments : CommonCompilerArguments() {
@Argument(value = "-Xemit-lazy-objc-header", description = "")
var emitLazyObjCHeader: String? = null
@Argument(value = "-Xenable", deprecatedName = "--enable", valueDescription = "<Phase>", description = "Enable backend phase")
var enablePhases: Array<String>? = null
@Argument(
value = "-Xexport-library",
valueDescription = "<path>",
@@ -233,18 +230,9 @@ class K2NativeCompilerArguments : CommonCompilerArguments() {
@Argument(value = "-Xcheck-state-at-external-calls", description = "Check all calls of possibly long external functions are done in Native state")
var checkExternalCalls: Boolean = false
@Argument(value = "-Xprint-descriptors", deprecatedName = "--print_descriptors", description = "Print descriptor tree")
var printDescriptors: Boolean = false
@Argument(value = "-Xprint-ir", deprecatedName = "--print_ir", description = "Print IR")
var printIr: Boolean = false
@Argument(value = "-Xprint-ir-with-descriptors", deprecatedName = "--print_ir_with_descriptors", description = "Print IR with descriptors")
var printIrWithDescriptors: Boolean = false
@Argument(value = "-Xprint-locations", deprecatedName = "--print_locations", description = "Print locations")
var printLocations: Boolean = false
@Argument(value = "-Xprint-files", description = "Print files")
var printFiles: Boolean = false