Add CompilerPhase and corresponding compiler keys
This commit is contained in:
@@ -41,6 +41,27 @@ object CommonConfigurationKeys {
|
||||
|
||||
@JvmField
|
||||
val METADATA_VERSION = CompilerConfigurationKey.create<BinaryVersion>("metadata version")
|
||||
|
||||
@JvmField
|
||||
val LIST_PHASES = CompilerConfigurationKey.create<Boolean>("list names of backend phases")
|
||||
|
||||
@JvmField
|
||||
val DISABLED_PHASES = CompilerConfigurationKey.create<Set<String>>("disable backend phases")
|
||||
|
||||
@JvmField
|
||||
val PHASES_TO_DUMP_STATE_BEFORE = CompilerConfigurationKey.create<Set<String>>("backend phases where we dump compiler state before the phase")
|
||||
|
||||
@JvmField
|
||||
val PHASES_TO_DUMP_STATE_AFTER = CompilerConfigurationKey.create<Set<String>>("backend phases where we dump compiler state after the phase")
|
||||
|
||||
@JvmField
|
||||
val PHASES_TO_DUMP_STATE = CompilerConfigurationKey.create<Set<String>>("backend phases where we dump compiler state both before and after the phase")
|
||||
|
||||
@JvmField
|
||||
val VERBOSE_PHASES = CompilerConfigurationKey.create<Set<String>>("verbose backend phases")
|
||||
|
||||
@JvmField
|
||||
val PROFILE_PHASES = CompilerConfigurationKey.create<Boolean>("profile backend phase execution")
|
||||
}
|
||||
|
||||
var CompilerConfiguration.languageVersionSettings: LanguageVersionSettings
|
||||
|
||||
Reference in New Issue
Block a user