[K/N] Move calls checker into separate module ^KT-62091

This commit is contained in:
Alexander Shabalin
2024-01-03 14:02:36 +01:00
committed by Space Team
parent 8cd87059c8
commit 3f2584bb02
15 changed files with 112 additions and 64 deletions
@@ -127,7 +127,7 @@ internal enum class OptimizationMode(private val description: String, val compil
*/
internal enum class ThreadStateChecker(val compilerFlag: String?) {
DISABLED(null),
ENABLED("-Xcheck-state-at-external-calls");
ENABLED("-Xbinary=checkStateAtExternalCalls=true");
override fun toString() = compilerFlag?.let { "($it)" }.orEmpty()
}