Tests: remove stepping tests on old JVM backend

This commit is contained in:
Alexander Udalov
2023-12-07 18:51:17 +01:00
committed by Space Team
parent f39c72360d
commit 5e330acd28
109 changed files with 175 additions and 1231 deletions
+1 -20
View File
@@ -29,16 +29,7 @@ fun box() {
stringSwitch("nope")
}
// JVM_IR uses the line number of the start of the `when` as the line number
// for the lookup/table switch. Therefore when the subject and the when is
// on separate lines the first step is on the subject, then steop to the when,
// then to the right branch.
// JVM_IR uses unoptimized lookup/table switches for all these cases. JVM
// does not. So on JVM there are direct jumps to the right branch for the
// last two whens.
// EXPECTATIONS JVM JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:27 box
// test.kt:5 stringSwitch
// test.kt:6 stringSwitch
@@ -47,9 +38,7 @@ fun box() {
// test.kt:12 stringSwitch
// test.kt:11 stringSwitch
// test.kt:18 stringSwitch
// EXPECTATIONS JVM_IR
// test.kt:17 stringSwitch
// EXPECTATIONS JVM JVM_IR
// test.kt:20 stringSwitch
// test.kt:17 stringSwitch
// test.kt:24 stringSwitch
@@ -59,16 +48,12 @@ fun box() {
// test.kt:7 stringSwitch
// test.kt:5 stringSwitch
// test.kt:11 stringSwitch
// EXPECTATIONS JVM_IR
// test.kt:12 stringSwitch
// EXPECTATIONS JVM JVM_IR
// test.kt:13 stringSwitch
// test.kt:11 stringSwitch
// test.kt:18 stringSwitch
// EXPECTATIONS JVM_IR
// test.kt:17 stringSwitch
// test.kt:20 stringSwitch
// EXPECTATIONS JVM JVM_IR
// test.kt:21 stringSwitch
// test.kt:17 stringSwitch
// test.kt:24 stringSwitch
@@ -79,18 +64,14 @@ fun box() {
// test.kt:8 stringSwitch
// test.kt:5 stringSwitch
// test.kt:11 stringSwitch
// EXPECTATIONS JVM_IR
// test.kt:12 stringSwitch
// test.kt:13 stringSwitch
// EXPECTATIONS JVM JVM_IR
// test.kt:14 stringSwitch
// test.kt:11 stringSwitch
// test.kt:18 stringSwitch
// EXPECTATIONS JVM_IR
// test.kt:17 stringSwitch
// test.kt:20 stringSwitch
// test.kt:21 stringSwitch
// EXPECTATIONS JVM JVM_IR
// test.kt:22 stringSwitch
// test.kt:17 stringSwitch
// test.kt:24 stringSwitch