[Native][tests] Rename MemoryModel.DEFAULT to MemoryModel.LEGACY
This commit is contained in:
+1
-2
@@ -90,10 +90,9 @@ internal enum class OptimizationMode(private val description: String, val compil
|
|||||||
*/
|
*/
|
||||||
internal enum class MemoryModel(val compilerFlags: List<String>?) {
|
internal enum class MemoryModel(val compilerFlags: List<String>?) {
|
||||||
/**
|
/**
|
||||||
* TODO: rename DEFAULT to LEGACY. It was postponed, as it would require simultaneous change in teamcity configuration
|
|
||||||
* but it should be done at some point.
|
* but it should be done at some point.
|
||||||
*/
|
*/
|
||||||
DEFAULT(listOf("-memory-model", "strict")),
|
LEGACY(listOf("-memory-model", "strict")),
|
||||||
EXPERIMENTAL(listOf("-memory-model", "experimental"));
|
EXPERIMENTAL(listOf("-memory-model", "experimental"));
|
||||||
|
|
||||||
override fun toString() = compilerFlags?.joinToString(prefix = "(", separator = " ", postfix = ")").orEmpty()
|
override fun toString() = compilerFlags?.joinToString(prefix = "(", separator = " ", postfix = ")").orEmpty()
|
||||||
|
|||||||
Reference in New Issue
Block a user