[K/Wasm] Introduce stepping tests for Wasm

This commit is contained in:
Artem Kobzar
2023-08-15 17:03:11 +00:00
committed by Space Team
parent 577d0db3f1
commit 05ed134fbb
120 changed files with 4035 additions and 2359 deletions
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
@@ -15,29 +16,29 @@ fun foo(f: () -> Unit) {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:4 box
// test.kt:14 foo
// test.kt:5 invoke
// test.kt:5 box
// test.kt:15 foo
// test.kt:6 invoke
// test.kt:14 foo
// test.kt:7 invoke
// test.kt:15 foo
// test.kt:16 foo
// test.kt:9 box
// test.kt:15 foo
// test.kt:8 box
// test.kt:14 foo
// test.kt:9 invoke
// test.kt:10 invoke
// test.kt:14 foo
// test.kt:11 invoke
// test.kt:15 foo
// test.kt:11 box
// test.kt:16 foo
// test.kt:12 box
// EXPECTATIONS JS_IR
// test.kt:4 box
// test.kt:14 foo
// test.kt:5 box$lambda
// test.kt:5 box
// test.kt:15 foo
// test.kt:6 box$lambda
// test.kt:7 box$lambda
// test.kt:16 foo
// test.kt:9 box
// test.kt:15 foo
// test.kt:8 box
// test.kt:14 foo
// test.kt:9 box$lambda
// test.kt:10 box$lambda
// test.kt:15 foo
// test.kt:11 box
// test.kt:11 box$lambda
// test.kt:16 foo
// test.kt:12 box