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
@@ -209,9 +209,6 @@ class K2Native : CLICompiler<K2NativeCompilerArguments>() {
put(EXPORT_KDOC, arguments.exportKDoc)
put(PRINT_IR, arguments.printIr)
put(PRINT_IR_WITH_DESCRIPTORS, arguments.printIrWithDescriptors)
put(PRINT_DESCRIPTORS, arguments.printDescriptors)
put(PRINT_LOCATIONS, arguments.printLocations)
put(PRINT_BITCODE, arguments.printBitCode)
put(CHECK_EXTERNAL_CALLS, arguments.checkExternalCalls)
put(PRINT_FILES, arguments.printFiles)
@@ -223,12 +220,6 @@ class K2Native : CLICompiler<K2NativeCompilerArguments>() {
put(VERIFY_IR, arguments.verifyIr)
put(VERIFY_BITCODE, arguments.verifyBitCode)
put(ENABLED_PHASES,
arguments.enablePhases.toNonNullList())
put(DISABLED_PHASES,
arguments.disablePhases.toNonNullList())
put(LIST_PHASES, arguments.listPhases)
put(ENABLE_ASSERTIONS, arguments.enableAssertions)
val memoryModelFromArgument = when (arguments.memoryModel) {