diff --git a/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/backEdge.kt b/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/backEdge.kt index 38057f1fa95..f93f22d3057 100644 --- a/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/backEdge.kt +++ b/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/backEdge.kt @@ -2,6 +2,7 @@ // FULL_JDK // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND: JVM +// IGNORE_BACKEND: ANDROID import kotlin.coroutines.* import kotlin.coroutines.intrinsics.* @@ -42,7 +43,7 @@ fun box(): String { test() } - val continuationName = "Continuation at BackEdgeKt\$box\$1.invokeSuspend(backEdge.kt:42)" + val continuationName = "Continuation at BackEdgeKt\$box\$1.invokeSuspend(backEdge.kt:43)" if (spilledVariables != setOf("label" to "1", "I$0" to "0", "L$0" to continuationName, "L$1" to "null")) return "FAIL 1: $spilledVariables" c?.resume(Unit) if (spilledVariables != setOf("label" to "2", "I$0" to "0", "L$0" to continuationName, "L$1" to "a")) return "FAIL 2: $spilledVariables" diff --git a/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/if.kt b/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/if.kt index 0df3640d240..915070fe40a 100644 --- a/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/if.kt +++ b/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/if.kt @@ -2,6 +2,7 @@ // FULL_JDK // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND: JVM +// IGNORE_BACKEND: ANDROID import kotlin.coroutines.* import kotlin.coroutines.intrinsics.* @@ -51,7 +52,7 @@ fun box(): String { test(true) } - var continuationName = "Continuation at IfKt\$box\$1.invokeSuspend(if.kt:51)" + var continuationName = "Continuation at IfKt\$box\$1.invokeSuspend(if.kt:52)" if (spilledVariables != setOf("label" to "1", "Z$0" to "true", "L$0" to continuationName, "L$1" to "a1", "L$2" to "null")) return "FAIL 1: $spilledVariables" c?.resume(Unit) @@ -65,7 +66,7 @@ fun box(): String { test(false) } - continuationName = "Continuation at IfKt\$box\$2.invokeSuspend(if.kt:65)" + continuationName = "Continuation at IfKt\$box\$2.invokeSuspend(if.kt:66)" if (spilledVariables != setOf("label" to "2", "Z$0" to "false", "L$0" to continuationName, "L$1" to "a2", "L$2" to "b2")) return "FAIL 4: $spilledVariables" c?.resume(Unit) if (spilledVariables != setOf("label" to "3", "Z$0" to "false", "L$0" to continuationName, "L$1" to "a2", "L$2" to "b2")) return "FAIL 5: $spilledVariables" diff --git a/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/nullCleanup.kt b/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/nullCleanup.kt index c170169c100..3e8be3fcc88 100644 --- a/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/nullCleanup.kt +++ b/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/nullCleanup.kt @@ -2,6 +2,7 @@ // FULL_JDK // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND: JVM +// IGNORE_BACKEND: ANDROID import kotlin.coroutines.* import kotlin.coroutines.intrinsics.* @@ -46,7 +47,7 @@ fun box(): String { test() } - val continuationName = "Continuation at NullCleanupKt\$box\$1.invokeSuspend(nullCleanup.kt:46)" + val continuationName = "Continuation at NullCleanupKt\$box\$1.invokeSuspend(nullCleanup.kt:47)" if (spilledVariables != setOf("label" to "1", "L$0" to continuationName, "L$1" to "a")) return "FAIL 1: $spilledVariables" c?.resume(Unit) if (spilledVariables != setOf("label" to "2", "L$0" to continuationName, "L$1" to "[a]")) return "FAIL 2: $spilledVariables" diff --git a/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/nullNotSpill.kt b/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/nullNotSpill.kt index e75a7482605..813e6d4def2 100644 --- a/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/nullNotSpill.kt +++ b/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/nullNotSpill.kt @@ -2,6 +2,7 @@ // FULL_JDK // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND: JVM +// IGNORE_BACKEND: ANDROID import kotlin.coroutines.* import kotlin.coroutines.intrinsics.* @@ -44,7 +45,7 @@ fun box(): String { test() } - val continuationName = "Continuation at NullNotSpillKt\$box\$1.invokeSuspend(nullNotSpill.kt:44)" + val continuationName = "Continuation at NullNotSpillKt\$box\$1.invokeSuspend(nullNotSpill.kt:45)" if (spilledVariables != setOf("label" to "1", "L$0" to continuationName, "L$1" to "null")) return "FAIL 1: $spilledVariables" c?.resume(Unit) if (spilledVariables != setOf("label" to "2", "L$0" to continuationName, "L$1" to "[null]")) return "FAIL 2: $spilledVariables" diff --git a/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/simple.kt b/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/simple.kt index ece156fbaf8..4a61bd1f795 100644 --- a/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/simple.kt +++ b/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/simple.kt @@ -2,6 +2,7 @@ // FULL_JDK // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND: JVM +// IGNORE_BACKEND: ANDROID import kotlin.coroutines.* import kotlin.coroutines.intrinsics.* @@ -44,7 +45,7 @@ fun box(): String { test() } - val continuationName = "Continuation at SimpleKt\$box\$1.invokeSuspend(simple.kt:44)" + val continuationName = "Continuation at SimpleKt\$box\$1.invokeSuspend(simple.kt:45)" if (spilledVariables != setOf("label" to "1", "L$0" to continuationName, "L$1" to "a", "L$2" to "null")) return "FAIL 1: $spilledVariables" c?.resume(Unit) if (spilledVariables != setOf("label" to "2", "L$0" to continuationName, "L$1" to "a", "L$2" to "[a]")) return "FAIL 2: $spilledVariables" diff --git a/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/twoRefs.kt b/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/twoRefs.kt index 0709e752bf0..83bfd4ceb3c 100644 --- a/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/twoRefs.kt +++ b/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/twoRefs.kt @@ -2,6 +2,7 @@ // FULL_JDK // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND: JVM +// IGNORE_BACKEND: ANDROID import kotlin.coroutines.* import kotlin.coroutines.intrinsics.* @@ -45,7 +46,7 @@ fun box(): String { test("a", "b") } - val continuationName = "Continuation at TwoRefsKt\$box\$1.invokeSuspend(twoRefs.kt:45)" + val continuationName = "Continuation at TwoRefsKt\$box\$1.invokeSuspend(twoRefs.kt:46)" if (spilledVariables != setOf("label" to "1", "L$0" to "a", "L$1" to "b", "L$2" to continuationName, "L$3" to "null")) return "FAIL 1: $spilledVariables" c?.resume(Unit) if (spilledVariables != setOf("label" to "2", "L$0" to "a", "L$1" to "b", "L$2" to continuationName, "L$3" to "[a]")) return "FAIL 2: $spilledVariables" diff --git a/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/unusedParamNotSpill.kt b/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/unusedParamNotSpill.kt index 8648f7469ca..8d172770279 100644 --- a/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/unusedParamNotSpill.kt +++ b/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/unusedParamNotSpill.kt @@ -1,6 +1,7 @@ // WITH_STDLIB // FULL_JDK // TARGET_BACKEND: JVM_IR +// IGNORE_BACKEND: ANDROID import kotlin.coroutines.* import kotlin.coroutines.intrinsics.* diff --git a/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/when.kt b/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/when.kt index ffcd6692b0e..bd14e910327 100644 --- a/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/when.kt +++ b/compiler/testData/codegen/box/coroutines/varSpilling/debugMode/when.kt @@ -2,6 +2,7 @@ // FULL_JDK // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND: JVM +// IGNORE_BACKEND: ANDROID import kotlin.coroutines.* import kotlin.coroutines.intrinsics.* @@ -61,7 +62,7 @@ fun box(): String { test(0) } - var continuationName = "Continuation at WhenKt\$box\$1.invokeSuspend(when.kt:61)" + var continuationName = "Continuation at WhenKt\$box\$1.invokeSuspend(when.kt:62)" if (spilledVariables != setOf("label" to "1", "I$0" to "0", "I$1" to "0", "I$2" to "0", "L$0" to continuationName, "L$1" to "a0", "L$2" to "null")) return "FAIL 1: $spilledVariables" c?.resume(Unit) @@ -75,7 +76,7 @@ fun box(): String { test(1) } - continuationName = "Continuation at WhenKt\$box\$2.invokeSuspend(when.kt:75)" + continuationName = "Continuation at WhenKt\$box\$2.invokeSuspend(when.kt:76)" if (spilledVariables != setOf("label" to "2", "I$0" to "1", "I$1" to "1", "I$2" to "0", "L$0" to continuationName, "L$1" to "a1", "L$2" to "b1")) return "FAIL 4: $spilledVariables" c?.resume(Unit) @@ -89,7 +90,7 @@ fun box(): String { test(2) } - continuationName = "Continuation at WhenKt\$box\$3.invokeSuspend(when.kt:89)" + continuationName = "Continuation at WhenKt\$box\$3.invokeSuspend(when.kt:90)" if (spilledVariables != setOf("label" to "3", "I$0" to "2", "I$1" to "2", "I$2" to "1", "L$0" to continuationName, "L$1" to "a2", "L$2" to "b2")) return "FAIL 7: $spilledVariables" c?.resume(Unit)