[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
@@ -179,7 +179,7 @@ private fun generateSourceMap(
prev = location
location.apply {
// TODO resulting path goes too deep since temporary directory we compiled first is deeper than final destination.
// TODO resulting path goes too deep since temporary directory we compiled first is deeper than final destination.
val relativePath = pathResolver.getPathRelativeToSourceRoots(File(file)).substring(3)
sourceMapBuilder.addMapping(relativePath, null, { null }, line, column, null, mapping.offset)
}
+8 -7
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun cond() = false
@@ -9,13 +10,13 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:5 box
// test.kt:2 cond
// test.kt:5 box
// test.kt:8 box
// test.kt:6 box
// test.kt:3 cond
// test.kt:6 box
// test.kt:9 box
// test.kt:10 box
// EXPECTATIONS JS_IR
// test.kt:5 box
// test.kt:2 cond
// test.kt:9 box
// test.kt:6 box
// test.kt:3 cond
// test.kt:10 box
+11 -10
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun <T> eval(f: () -> T) = f()
@@ -9,15 +10,15 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:6 box
// test.kt:3 eval
// test.kt:7 invoke
// test.kt:3 eval
// test.kt:6 box
// test.kt:9 box
// test.kt:7 box
// test.kt:4 eval
// test.kt:8 invoke
// test.kt:4 eval
// test.kt:7 box
// test.kt:10 box
// EXPECTATIONS JS_IR
// test.kt:6 box
// test.kt:3 eval
// test.kt:7 box$lambda
// test.kt:9 box
// test.kt:7 box
// test.kt:4 eval
// test.kt:8 box$lambda
// test.kt:10 box
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
@@ -7,15 +8,15 @@ fun box() {
}
// EXPECTATIONS JVM_IR
// test.kt:5 box
// test.kt:6 box
// EXPECTATIONS JVM
// test.kt:4 box
// test.kt:5 invoke
// test.kt:4 box
// test.kt:5 box
// test.kt:6 invoke
// test.kt:5 box
// EXPECTATIONS JVM JVM_IR
// test.kt:7 box
// test.kt:8 box
// EXPECTATIONS JS_IR
// test.kt:4 box
// test.kt:5 box$lambda
// test.kt:7 box
// test.kt:5 box
// test.kt:6 box$lambda
// test.kt:8 box
+15 -14
View File
@@ -1,4 +1,5 @@
// IGNORE_INLINER: IR
// IGNORE_BACKEND: WASM
// FILE: test.kt
public val MASSERTIONS_ENABLED: Boolean = true
@@ -31,23 +32,23 @@ fun box(): String {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:25 box
// test.kt:16 box
// test.kt:17 box
// test.kt:4 getMASSERTIONS_ENABLED
// test.kt:26 box
// test.kt:17 box
// test.kt:18 box
// test.kt:22 box
// test.kt:26 box
// test.kt:7 box
// test.kt:4 getMASSERTIONS_ENABLED
// test.kt:7 box
// test.kt:5 getMASSERTIONS_ENABLED
// test.kt:18 box
// test.kt:19 box
// test.kt:23 box
// test.kt:27 box
// test.kt:8 box
// test.kt:13 box
// test.kt:30 box
// test.kt:5 getMASSERTIONS_ENABLED
// test.kt:8 box
// test.kt:9 box
// test.kt:14 box
// test.kt:31 box
// EXPECTATIONS JS_IR
// test.kt:16 box
// test.kt:17 box
// test.kt:7 box
// test.kt:30 box
// test.kt:18 box
// test.kt:8 box
// test.kt:31 box
+19 -18
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
var current = true
@@ -20,26 +21,26 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:19 box
// test.kt:11 foo
// test.kt:12 foo
// test.kt:6 alternate
// test.kt:7 alternate
// test.kt:12 foo
// test.kt:11 foo
// test.kt:12 foo
// test.kt:6 alternate
// test.kt:7 alternate
// test.kt:20 box
// test.kt:12 foo
// test.kt:13 foo
// test.kt:16 foo
// test.kt:20 box
// test.kt:7 alternate
// test.kt:8 alternate
// test.kt:13 foo
// test.kt:12 foo
// test.kt:13 foo
// test.kt:7 alternate
// test.kt:8 alternate
// test.kt:13 foo
// test.kt:14 foo
// test.kt:17 foo
// test.kt:21 box
// EXPECTATIONS JS_IR
// test.kt:19 box
// test.kt:6 alternate
// test.kt:7 alternate
// test.kt:6 alternate
// test.kt:7 alternate
// test.kt:16 foo
// test.kt:20 box
// test.kt:7 alternate
// test.kt:8 alternate
// test.kt:7 alternate
// test.kt:8 alternate
// test.kt:17 foo
// test.kt:21 box
+26 -25
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
class A
@@ -14,34 +15,34 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:8 box
// test.kt:3 <init>
// test.kt:8 box
// test.kt:9 box
// test.kt:4 <init>
// test.kt:9 box
// test.kt:12 box
// test.kt:6 bar
// test.kt:4 <init>
// test.kt:6 bar
// test.kt:11 box
// test.kt:5 bar
// test.kt:3 <init>
// test.kt:5 bar
// test.kt:6 bar
// test.kt:4 <init>
// test.kt:6 bar
// test.kt:10 box
// test.kt:5 bar
// test.kt:3 <init>
// test.kt:5 bar
// test.kt:9 box
// test.kt:5 bar
// test.kt:3 <init>
// test.kt:5 bar
// test.kt:9 box
// test.kt:14 box
// test.kt:6 bar
// test.kt:4 <init>
// test.kt:6 bar
// test.kt:10 box
// test.kt:15 box
// EXPECTATIONS JS_IR
// test.kt:8 box
// test.kt:3 <init>
// test.kt:9 box
// test.kt:5 bar
// test.kt:3 <init>
// test.kt:4 <init>
// test.kt:10 box
// test.kt:5 bar
// test.kt:3 <init>
// test.kt:9 box
// test.kt:5 bar
// test.kt:3 <init>
// test.kt:14 box
// test.kt:6 bar
// test.kt:4 <init>
// test.kt:11 box
// test.kt:6 bar
// test.kt:4 <init>
// test.kt:10 box
// test.kt:6 bar
// test.kt:4 <init>
// test.kt:15 box
+13 -12
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
class A {
@@ -15,21 +16,21 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:9 box
// test.kt:3 <init>
// test.kt:9 box
// test.kt:10 box
// test.kt:4 <init>
// test.kt:10 box
// test.kt:11 box
// test.kt:4 foo
// test.kt:11 box
// test.kt:13 box
// test.kt:12 box
// test.kt:5 foo
// test.kt:12 box
// test.kt:14 box
// test.kt:5 box
// test.kt:15 box
// test.kt:6 box
// test.kt:16 box
// EXPECTATIONS JS_IR
// test.kt:9 box
// test.kt:3 <init>
// test.kt:11 box
// test.kt:4 foo
// test.kt:15 box
// test.kt:10 box
// test.kt:4 <init>
// test.kt:12 box
// test.kt:5 foo
// test.kt:16 box
+14 -13
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
var x = false
@@ -11,22 +12,22 @@ fun f(block: () -> Unit) {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:3 box
// test.kt:4 box
// test.kt:10 f
// test.kt:5 invoke
// test.kt:6 invoke
// test.kt:10 f
// test.kt:5 box
// test.kt:11 f
// test.kt:7 box
// test.kt:6 invoke
// test.kt:7 invoke
// test.kt:11 f
// test.kt:12 f
// test.kt:8 box
// EXPECTATIONS JS_IR
// test.kt:3 box
// test.kt:4 box
// test.kt:4 box$lambda
// test.kt:4 box
// test.kt:10 f
// test.kt:5 box$lambda$lambda
// test.kt:6 box$lambda$lambda
// test.kt:5 box
// test.kt:5 box$lambda
// test.kt:5 box
// test.kt:11 f
// test.kt:7 box
// test.kt:6 box$lambda$lambda
// test.kt:7 box$lambda$lambda
// test.kt:12 f
// test.kt:8 box
+15 -14
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
class A {
@@ -15,25 +16,25 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:9 box
// test.kt:3 <init>
// test.kt:9 box
// test.kt:10 box
// test.kt:4 foo
// test.kt:4 <init>
// test.kt:10 box
// test.kt:11 box
// test.kt:4 foo
// test.kt:11 box
// test.kt:13 box
// test.kt:5 box
// test.kt:5 foo
// test.kt:12 box
// test.kt:5 foo
// test.kt:12 box
// test.kt:14 box
// test.kt:5 box
// test.kt:6 box
// test.kt:15 box
// test.kt:6 box
// test.kt:16 box
// EXPECTATIONS JS_IR
// test.kt:9 box
// test.kt:3 <init>
// test.kt:10 box
// test.kt:4 foo
// test.kt:4 <init>
// test.kt:11 box
// test.kt:4 foo
// test.kt:15 box
// test.kt:5 foo
// test.kt:12 box
// test.kt:5 foo
// test.kt:16 box
+16 -15
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
class A {
@@ -19,25 +20,25 @@ fun box() {
// value of prop.
// EXPECTATIONS JVM JVM_IR
// test.kt:12 box
// test.kt:3 <init>
// test.kt:4 <init>
// EXPECTATIONS JVM_IR
// test.kt:3 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:12 box
// test.kt:13 box
// test.kt:4 getProp
// test.kt:4 <init>
// test.kt:5 <init>
// EXPECTATIONS JVM_IR
// test.kt:4 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:13 box
// test.kt:14 box
// test.kt:7 foo
// test.kt:8 foo
// test.kt:5 getProp
// test.kt:14 box
// test.kt:15 box
// test.kt:8 foo
// test.kt:9 foo
// test.kt:16 box
// EXPECTATIONS JS_IR
// test.kt:12 box
// test.kt:13 box
// test.kt:5 <init>
// test.kt:4 <init>
// test.kt:3 <init>
// test.kt:14 box
// test.kt:8 foo
// test.kt:15 box
// test.kt:15 box
// test.kt:9 foo
// test.kt:16 box
+23 -22
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
class A {
@@ -17,34 +18,34 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:14 box
// test.kt:5 <clinit>
// test.kt:6 <clinit>
// test.kt:5 getProp0
// test.kt:5 getProp0
// test.kt:14 box
// test.kt:15 box
// test.kt:6 getProp1
// test.kt:6 getProp1
// test.kt:6 <clinit>
// test.kt:7 <clinit>
// test.kt:6 getProp0
// test.kt:6 getProp0
// test.kt:15 box
// test.kt:16 box
// test.kt:8 foo
// test.kt:5 getProp0
// test.kt:5 getProp0
// test.kt:8 foo
// test.kt:6 getProp1
// test.kt:6 getProp1
// test.kt:8 foo
// test.kt:7 getProp1
// test.kt:7 getProp1
// test.kt:16 box
// test.kt:17 box
// test.kt:9 foo
// test.kt:6 getProp0
// test.kt:6 getProp0
// test.kt:9 foo
// test.kt:7 getProp1
// test.kt:7 getProp1
// test.kt:9 foo
// test.kt:17 box
// test.kt:18 box
// EXPECTATIONS JS_IR
// test.kt:14 box
// test.kt:5 <init>
// test.kt:6 <init>
// test.kt:4 <init>
// test.kt:15 box
// test.kt:6 <init>
// test.kt:7 <init>
// test.kt:5 <init>
// test.kt:16 box
// test.kt:16 box
// test.kt:8 foo
// test.kt:17 box
// test.kt:17 box
// test.kt:17 box
// test.kt:9 foo
// test.kt:18 box
+6 -5
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
@@ -10,12 +11,12 @@ class A {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:4 box
// test.kt:8 <init>
// test.kt:4 box
// test.kt:5 box
// test.kt:9 <init>
// test.kt:5 box
// test.kt:6 box
// EXPECTATIONS JS_IR
// test.kt:4 box
// test.kt:8 <init>
// test.kt:5 box
// test.kt:9 <init>
// test.kt:6 box
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
class AWithCompanion {
@@ -12,15 +13,15 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:11 box
// test.kt:6 <clinit>
// test.kt:6 getCompPropVal
// test.kt:6 getCompPropVal
// test.kt:11 box
// test.kt:12 box
// test.kt:7 <clinit>
// test.kt:7 getCompPropVal
// test.kt:7 getCompPropVal
// test.kt:12 box
// test.kt:13 box
// EXPECTATIONS JS_IR
// test.kt:11 box
// test.kt:6 <init>
// test.kt:4 <init>
// test.kt:12 box
// test.kt:7 <init>
// test.kt:5 <init>
// test.kt:13 box
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
// Comment before
@@ -10,11 +11,11 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:9 box
// test.kt:5 foo
// test.kt:9 box
// test.kt:10 box
// test.kt:6 foo
// test.kt:10 box
// test.kt:11 box
// EXPECTATIONS JS_IR
// test.kt:9 box
// test.kt:10 box
// test.kt:11 box
+13 -12
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
// Single line comment
@@ -32,23 +33,23 @@ class A {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:5 box
// test.kt:15 <init>
// test.kt:5 box
// test.kt:24 foo
// test.kt:6 box
// test.kt:15 <init>
// test.kt:16 <init>
// test.kt:6 box
// test.kt:31 bar
// test.kt:25 foo
// test.kt:7 box
// test.kt:16 <init>
// test.kt:7 box
// test.kt:32 bar
// test.kt:8 box
// EXPECTATIONS JS_IR
// test.kt:5 box
// test.kt:15 <init>
// test.kt:5 box
// test.kt:24 foo
// test.kt:6 box
// test.kt:15 <init>
// test.kt:16 <init>
// test.kt:6 box
// test.kt:31 bar
// test.kt:25 foo
// test.kt:7 box
// test.kt:16 <init>
// test.kt:7 box
// test.kt:32 bar
// test.kt:8 box
+5 -4
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
@@ -6,10 +7,10 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:5 box
// test.kt:4 box
// test.kt:6 box
// test.kt:5 box
// test.kt:7 box
// EXPECTATIONS JS_IR
// test.kt:5 box
// test.kt:6 box
// test.kt:6 box
// test.kt:7 box
+16 -15
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
val k = if (getA()
@@ -19,26 +20,26 @@ fun getC() = false
fun getD() = true
// EXPECTATIONS JVM JVM_IR
// test.kt:3 box
// test.kt:13 getA
// test.kt:3 box
// test.kt:4 box
// test.kt:15 getB
// test.kt:14 getA
// test.kt:4 box
// test.kt:5 box
// test.kt:17 getC
// test.kt:16 getB
// test.kt:5 box
// test.kt:9 box
// test.kt:3 box
// test.kt:11 box
// test.kt:6 box
// test.kt:18 getC
// test.kt:6 box
// test.kt:10 box
// test.kt:4 box
// test.kt:12 box
// EXPECTATIONS JS_IR
// test.kt:3 box
// test.kt:13 getA
// test.kt:4 box
// test.kt:15 getB
// test.kt:14 getA
// test.kt:5 box
// test.kt:17 getC
// test.kt:9 box
// test.kt:3 box
// test.kt:11 box
// test.kt:16 getB
// test.kt:6 box
// test.kt:18 getC
// test.kt:10 box
// test.kt:4 box
// test.kt:12 box
+11 -10
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
// KT-22488
@@ -15,16 +16,16 @@ fun test(): Long {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:5 box
// EXPECTATIONS JVM_IR
// test.kt:9 test
// EXPECTATIONS JVM JVM_IR
// test.kt:10 test
// test.kt:11 test
// test.kt:5 box
// test.kt:6 box
// EXPECTATIONS JVM_IR
// test.kt:10 test
// EXPECTATIONS JVM JVM_IR
// test.kt:11 test
// test.kt:12 test
// test.kt:6 box
// test.kt:7 box
// EXPECTATIONS JS_IR
// test.kt:5 box
// test.kt:11 test
// test.kt:6 box
// test.kt:6 box
// test.kt:12 test
// test.kt:7 box
+26 -25
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
class A(val x: Int)
@@ -14,35 +15,35 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:6 box
// test.kt:3 <init>
// test.kt:6 box
// test.kt:7 box
// test.kt:4 <init>
// test.kt:7 box
// test.kt:8 box
// test.kt:7 box
// test.kt:3 <init>
// test.kt:7 box
// test.kt:10 box
// test.kt:3 <init>
// test.kt:10 box
// test.kt:12 box
// test.kt:9 box
// test.kt:8 box
// test.kt:4 <init>
// test.kt:8 box
// test.kt:11 box
// test.kt:4 <init>
// test.kt:11 box
// test.kt:13 box
// test.kt:12 box
// test.kt:3 <init>
// test.kt:12 box
// test.kt:14 box
// test.kt:13 box
// test.kt:4 <init>
// test.kt:13 box
// test.kt:15 box
// EXPECTATIONS JS_IR
// test.kt:6 box
// test.kt:3 <init>
// test.kt:3 <init>
// test.kt:7 box
// test.kt:3 <init>
// test.kt:3 <init>
// test.kt:10 box
// test.kt:3 <init>
// test.kt:3 <init>
// test.kt:12 box
// test.kt:3 <init>
// test.kt:3 <init>
// test.kt:14 box
// test.kt:4 <init>
// test.kt:4 <init>
// test.kt:8 box
// test.kt:4 <init>
// test.kt:4 <init>
// test.kt:11 box
// test.kt:4 <init>
// test.kt:4 <init>
// test.kt:13 box
// test.kt:4 <init>
// test.kt:4 <init>
// test.kt:15 box
+87 -86
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
@@ -85,151 +86,151 @@ class O<T>(i: T) {
// step on and sometimes there is no step on the end brace.
// EXPECTATIONS JVM JVM_IR
// test.kt:4 box
// test.kt:19 <init>
// test.kt:4 box
// test.kt:5 box
// test.kt:20 <init>
// test.kt:5 box
// test.kt:6 box
// test.kt:22 <init>
// test.kt:21 <init>
// test.kt:6 box
// test.kt:7 box
// test.kt:25 <init>
// test.kt:23 <init>
// test.kt:7 box
// test.kt:8 box
// EXPECTATIONS JVM_IR
// test.kt:28 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:29 <init>
// EXPECTATIONS JVM_IR
// test.kt:30 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:26 <init>
// test.kt:8 box
// test.kt:9 box
// EXPECTATIONS JVM_IR
// test.kt:33 <init>
// test.kt:29 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:34 <init>
// test.kt:30 <init>
// EXPECTATIONS JVM_IR
// test.kt:35 <init>
// test.kt:31 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:9 box
// test.kt:10 box
// test.kt:37 <init>
// EXPECTATIONS JVM_IR
// test.kt:34 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:35 <init>
// EXPECTATIONS JVM_IR
// test.kt:36 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:10 box
// test.kt:11 box
// test.kt:38 <init>
// test.kt:39 <init>
// test.kt:40 <init>
// test.kt:41 <init>
// EXPECTATIONS JVM_IR
// test.kt:37 <init>
// test.kt:38 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:10 box
// test.kt:11 box
// test.kt:42 <init>
// test.kt:12 box
// test.kt:43 <init>
// test.kt:44 <init>
// test.kt:45 <init>
// test.kt:46 <init>
// EXPECTATIONS JVM_IR
// test.kt:42 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:11 box
// test.kt:12 box
// EXPECTATIONS JVM
// test.kt:49 <init>
// EXPECTATIONS JVM_IR
// test.kt:48 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:52 <init>
// test.kt:53 <init>
// EXPECTATIONS JVM_IR
// test.kt:54 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:49 <init>
// EXPECTATIONS JVM_IR
// test.kt:50 <init>
// test.kt:43 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:12 box
// test.kt:13 box
// test.kt:57 <init>
// test.kt:61 <init>
// EXPECTATIONS JVM
// test.kt:50 <init>
// EXPECTATIONS JVM_IR
// test.kt:62 <init>
// test.kt:49 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:58 <init>
// test.kt:53 <init>
// test.kt:54 <init>
// EXPECTATIONS JVM_IR
// test.kt:59 <init>
// test.kt:55 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:50 <init>
// EXPECTATIONS JVM_IR
// test.kt:51 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:13 box
// test.kt:14 box
// test.kt:65 <init>
// test.kt:69 <init>
// test.kt:58 <init>
// test.kt:62 <init>
// EXPECTATIONS JVM_IR
// test.kt:70 <init>
// test.kt:63 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:66 <init>
// test.kt:59 <init>
// EXPECTATIONS JVM_IR
// test.kt:67 <init>
// test.kt:60 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:14 box
// test.kt:15 box
// test.kt:72 <init>
// test.kt:66 <init>
// test.kt:70 <init>
// EXPECTATIONS JVM_IR
// test.kt:71 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:67 <init>
// EXPECTATIONS JVM_IR
// test.kt:68 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:15 box
// test.kt:16 box
// test.kt:73 <init>
// test.kt:72 <init>
// EXPECTATIONS JVM
// test.kt:73 <init>
// EXPECTATIONS JVM_IR
// test.kt:74 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:16 box
// test.kt:17 box
// test.kt:74 <init>
// test.kt:73 <init>
// EXPECTATIONS JVM
// test.kt:74 <init>
// EXPECTATIONS JVM_IR
// test.kt:75 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:17 box
// test.kt:18 box
// EXPECTATIONS JS_IR
// test.kt:4 box
// test.kt:19 <init>
// test.kt:5 box
// test.kt:20 <init>
// test.kt:20 <init>
// test.kt:6 box
// test.kt:22 D_init_$Init$
// test.kt:21 D
// test.kt:21 <init>
// test.kt:21 <init>
// test.kt:7 box
// test.kt:25 E_init_$Init$
// test.kt:24 E
// test.kt:23 D_init_$Init$
// test.kt:22 D
// test.kt:8 box
// test.kt:28 F_init_$Init$
// test.kt:27 F
// test.kt:29 F_init_$Init$
// test.kt:26 E_init_$Init$
// test.kt:25 E
// test.kt:9 box
// test.kt:33 G_init_$Init$
// test.kt:32 G
// test.kt:34 G_init_$Init$
// test.kt:29 F_init_$Init$
// test.kt:28 F
// test.kt:30 F_init_$Init$
// test.kt:10 box
// test.kt:39 <init>
// test.kt:37 <init>
// test.kt:34 G_init_$Init$
// test.kt:33 G
// test.kt:35 G_init_$Init$
// test.kt:11 box
// test.kt:42 <init>
// test.kt:44 <init>
// test.kt:42 <init>
// test.kt:40 <init>
// test.kt:38 <init>
// test.kt:12 box
// test.kt:48 L_init_$Init$
// test.kt:53 L
// test.kt:47 L
// test.kt:49 L_init_$Init$
// test.kt:43 <init>
// test.kt:45 <init>
// test.kt:43 <init>
// test.kt:13 box
// test.kt:57 M_init_$Init$
// test.kt:61 M_init_$Init$
// test.kt:56 M
// test.kt:58 M_init_$Init$
// test.kt:49 L_init_$Init$
// test.kt:54 L
// test.kt:48 L
// test.kt:50 L_init_$Init$
// test.kt:14 box
// test.kt:65 N_init_$Init$
// test.kt:69 N_init_$Init$
// test.kt:64 N
// test.kt:66 N_init_$Init$
// test.kt:58 M_init_$Init$
// test.kt:62 M_init_$Init$
// test.kt:57 M
// test.kt:59 M_init_$Init$
// test.kt:15 box
// test.kt:72 <init>
// test.kt:66 N_init_$Init$
// test.kt:70 N_init_$Init$
// test.kt:65 N
// test.kt:67 N_init_$Init$
// test.kt:16 box
// test.kt:73 O_init_$Init$
// test.kt:72 <init>
// test.kt:73 <init>
// test.kt:17 box
// test.kt:74 O_init_$Init$
// test.kt:73 <init>
// test.kt:18 box
+31 -30
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// WITH_STDLIB
// FILE: test.kt
@@ -16,49 +17,49 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:7 box
// test.kt:8 box
// test.kt:9 box
// test.kt:7 box
// test.kt:10 box
// test.kt:8 box
// test.kt:9 box
// test.kt:7 box
// test.kt:10 box
// test.kt:8 box
// test.kt:11 box
// test.kt:9 box
// test.kt:12 box
// test.kt:7 box
// test.kt:13 box
// test.kt:8 box
// test.kt:11 box
// test.kt:14 box
// test.kt:7 box
// test.kt:16 box
// test.kt:9 box
// test.kt:12 box
// test.kt:15 box
// test.kt:8 box
// test.kt:17 box
// EXPECTATIONS JS_IR
// test.kt:7 box
// test.kt:4 <get-strings>
// test.kt:7 box
// test.kt:7 box
// test.kt:7 box
// test.kt:7 box
// test.kt:7 box
// test.kt:8 box
// test.kt:5 <get-strings>
// test.kt:8 box
// test.kt:8 box
// test.kt:8 box
// test.kt:8 box
// test.kt:8 box
// test.kt:9 box
// test.kt:7 box
// test.kt:7 box
// test.kt:7 box
// test.kt:10 box
// test.kt:8 box
// test.kt:8 box
// test.kt:8 box
// test.kt:9 box
// test.kt:7 box
// test.kt:7 box
// test.kt:7 box
// test.kt:10 box
// test.kt:8 box
// test.kt:11 box
// test.kt:8 box
// test.kt:8 box
// test.kt:9 box
// test.kt:12 box
// test.kt:7 box
// test.kt:7 box
// test.kt:7 box
// test.kt:13 box
// test.kt:8 box
// test.kt:11 box
// test.kt:14 box
// test.kt:7 box
// test.kt:16 box
// test.kt:8 box
// test.kt:8 box
// test.kt:9 box
// test.kt:12 box
// test.kt:15 box
// test.kt:8 box
// test.kt:17 box
+59 -58
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
data class D(val i: Int, val s: String)
@@ -25,94 +26,94 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:13 box
// test.kt:3 <init>
// test.kt:13 box
// test.kt:14 box
// test.kt:3 <init>
// test.kt:4 <init>
// test.kt:14 box
// test.kt:15 box
// test.kt:4 <init>
// test.kt:15 box
// test.kt:16 box
// test.kt:17 box
// test.kt:18 box
// test.kt:3 <init>
// test.kt:19 box
// test.kt:4 <init>
// test.kt:-1 copy
// test.kt:18 box
// test.kt:19 box
// test.kt:5 <init>
// test.kt:19 box
// test.kt:20 box
// test.kt:5 <init>
// test.kt:20 box
// test.kt:7 equals
// test.kt:6 <init>
// test.kt:20 box
// test.kt:21 box
// test.kt:8 hashCode
// test.kt:6 <init>
// test.kt:21 box
// test.kt:8 equals
// test.kt:21 box
// test.kt:22 box
// test.kt:6 toString
// test.kt:9 hashCode
// test.kt:22 box
// test.kt:23 box
// test.kt:24 box
// test.kt:9 copy
// test.kt:5 <init>
// test.kt:9 copy
// test.kt:7 toString
// test.kt:23 box
// test.kt:24 box
// test.kt:25 box
// test.kt:10 copy
// test.kt:6 <init>
// test.kt:10 copy
// test.kt:25 box
// test.kt:26 box
// EXPECTATIONS JS_IR
// test.kt:13 box
// test.kt:3 <init>
// test.kt:3 <init>
// test.kt:3 <init>
// test.kt:14 box
// test.kt:3 <init>
// test.kt:3 <init>
// test.kt:3 <init>
// test.kt:14 box
// test.kt:1 equals
// test.kt:1 equals
// test.kt:1 equals
// test.kt:1 equals
// test.kt:1 equals
// test.kt:1 equals
// test.kt:4 <init>
// test.kt:4 <init>
// test.kt:4 <init>
// test.kt:15 box
// test.kt:1 hashCode
// test.kt:1 hashCode
// test.kt:4 <init>
// test.kt:4 <init>
// test.kt:4 <init>
// test.kt:15 box
// test.kt:1 equals
// test.kt:1 equals
// test.kt:1 equals
// test.kt:1 equals
// test.kt:1 equals
// test.kt:1 equals
// test.kt:16 box
// test.kt:1 hashCode
// test.kt:1 hashCode
// test.kt:17 box
// test.kt:1 toString
// test.kt:17 box
// test.kt:1 component1
// test.kt:17 box
// test.kt:1 component2
// test.kt:18 box
// test.kt:1 component1
// test.kt:18 box
// test.kt:1 component2
// test.kt:19 box
// test.kt:1 copy$default
// test.kt:1 copy$default
// test.kt:1 copy
// test.kt:3 <init>
// test.kt:3 <init>
// test.kt:3 <init>
// test.kt:19 box
// test.kt:5 <init>
// test.kt:5 <init>
// test.kt:5 <init>
// test.kt:4 <init>
// test.kt:4 <init>
// test.kt:4 <init>
// test.kt:20 box
// test.kt:5 <init>
// test.kt:5 <init>
// test.kt:5 <init>
// test.kt:20 box
// test.kt:7 equals
// test.kt:6 <init>
// test.kt:6 <init>
// test.kt:6 <init>
// test.kt:21 box
// test.kt:8 hashCode
// test.kt:6 <init>
// test.kt:6 <init>
// test.kt:6 <init>
// test.kt:21 box
// test.kt:8 equals
// test.kt:22 box
// test.kt:6 toString
// test.kt:9 hashCode
// test.kt:23 box
// test.kt:1 component1
// test.kt:23 box
// test.kt:1 component2
// test.kt:7 toString
// test.kt:24 box
// test.kt:9 copy
// test.kt:5 <init>
// test.kt:5 <init>
// test.kt:5 <init>
// test.kt:1 component1
// test.kt:24 box
// test.kt:1 component2
// test.kt:25 box
// test.kt:10 copy
// test.kt:6 <init>
// test.kt:6 <init>
// test.kt:6 <init>
// test.kt:26 box
+15 -14
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
class A {
@@ -13,21 +14,21 @@ fun box() {
// FORCE_STEP_INTO
// EXPECTATIONS JVM JVM_IR
// test.kt:11 box
// test.kt:3 <init>
// test.kt:11 box
// test.kt:6 foo$default (synthetic)
// test.kt:4 computeParam
// test.kt:6 foo$default (synthetic)
// test.kt:7 foo
// test.kt:6 foo$default (synthetic)
// test.kt:12 box
// test.kt:4 <init>
// test.kt:12 box
// test.kt:7 foo$default (synthetic)
// test.kt:5 computeParam
// test.kt:7 foo$default (synthetic)
// test.kt:8 foo
// test.kt:7 foo$default (synthetic)
// test.kt:13 box
// EXPECTATIONS JS_IR
// test.kt:11 box
// test.kt:3 <init>
// test.kt:11 box
// test.kt:6 foo$default
// test.kt:4 computeParam
// test.kt:7 foo
// test.kt:12 box
// test.kt:4 <init>
// test.kt:12 box
// test.kt:7 foo$default
// test.kt:5 computeParam
// test.kt:8 foo
// test.kt:13 box
+16 -15
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
interface I {
@@ -18,24 +19,24 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:16 box
// test.kt:13 <init>
// EXPECTATIONS JVM
// test.kt:7 <clinit>
// EXPECTATIONS JVM JVM_IR
// test.kt:16 box
// test.kt:17 box
// test.kt:10 f
// test.kt:-1 f
// test.kt:14 <init>
// EXPECTATIONS JVM
// test.kt:8 <clinit>
// EXPECTATIONS JVM JVM_IR
// test.kt:17 box
// test.kt:18 box
// test.kt:11 f
// test.kt:-1 f
// test.kt:19 box
// EXPECTATIONS JS_IR
// test.kt:16 box
// test.kt:13 <init>
// test.kt:7 <init>
// test.kt:13 <init>
// test.kt:17 box
// test.kt:1 f
// test.kt:10 f
// test.kt:1 f
// test.kt:14 <init>
// test.kt:8 <init>
// test.kt:14 <init>
// test.kt:18 box
// test.kt:1 f
// test.kt:11 f
// test.kt:1 f
// test.kt:19 box
+28 -27
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
enum class E() {
@@ -35,36 +36,36 @@ fun box() {
// but not for the allocation of the object.
// EXPECTATIONS JVM JVM_IR
// test.kt:22 box
// EXPECTATIONS JVM_IR
// test.kt:4 <clinit>
// test.kt:5 <clinit>
// EXPECTATIONS JVM JVM_IR
// test.kt:7 foo
// test.kt:9 foo
// test.kt:22 box
// test.kt:23 box
// test.kt:15 <clinit>
// EXPECTATIONS JVM_IR
// test.kt:16 <clinit>
// test.kt:5 <clinit>
// test.kt:6 <clinit>
// EXPECTATIONS JVM JVM_IR
// test.kt:17 <clinit>
// test.kt:16 <clinit>
// test.kt:8 foo
// test.kt:10 foo
// test.kt:23 box
// test.kt:24 box
// test.kt:16 <clinit>
// EXPECTATIONS JVM_IR
// test.kt:17 <clinit>
// EXPECTATIONS JVM JVM_IR
// test.kt:18 <clinit>
// test.kt:17 <clinit>
// test.kt:25 box
// EXPECTATIONS JS_IR
// test.kt:22 box
// test.kt:11 <init>
// test.kt:3 <init>
// test.kt:11 <init>
// test.kt:3 <init>
// test.kt:22 box
// test.kt:9 foo
// test.kt:7 E$foo$lambda
// test.kt:15 E2_initEntries
// test.kt:14 <init>
// test.kt:14 <init>
// test.kt:17 E2_initEntries
// test.kt:14 <init>
// test.kt:14 <init>
// test.kt:24 box
// test.kt:23 box
// test.kt:12 <init>
// test.kt:4 <init>
// test.kt:12 <init>
// test.kt:4 <init>
// test.kt:23 box
// test.kt:10 foo
// test.kt:8 E$foo$lambda
// test.kt:16 E2_initEntries
// test.kt:15 <init>
// test.kt:15 <init>
// test.kt:18 E2_initEntries
// test.kt:15 <init>
// test.kt:15 <init>
// test.kt:25 box
+21 -20
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
for (i in 1..3) {
@@ -8,28 +9,28 @@ fun box() {
inline fun foo(n: Int) {}
// EXPECTATIONS JVM JVM_IR
// test.kt:3 box
// test.kt:4 box
// test.kt:8 box
// test.kt:3 box
// test.kt:5 box
// test.kt:9 box
// test.kt:4 box
// test.kt:8 box
// test.kt:3 box
// test.kt:5 box
// test.kt:9 box
// test.kt:4 box
// test.kt:8 box
// test.kt:3 box
// test.kt:6 box
// test.kt:5 box
// test.kt:9 box
// test.kt:4 box
// test.kt:7 box
// EXPECTATIONS JS_IR
// test.kt:3 box
// test.kt:3 box
// test.kt:3 box
// test.kt:3 box
// test.kt:3 box
// test.kt:3 box
// test.kt:3 box
// test.kt:3 box
// test.kt:3 box
// test.kt:3 box
// test.kt:3 box
// test.kt:6 box
// test.kt:4 box
// test.kt:4 box
// test.kt:4 box
// test.kt:4 box
// test.kt:4 box
// test.kt:4 box
// test.kt:4 box
// test.kt:4 box
// test.kt:4 box
// test.kt:4 box
// test.kt:4 box
// test.kt:7 box
+10 -9
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
@@ -13,16 +14,16 @@ inline fun bar(i: Int = 1) {
// FORCE_STEP_INTO
// EXPECTATIONS JVM JVM_IR
// test.kt:4 box
// test.kt:8 foo$default (synthetic)
// test.kt:9 foo
// test.kt:8 foo$default (synthetic)
// test.kt:5 box
// test.kt:11 box
// test.kt:12 box
// test.kt:9 foo$default (synthetic)
// test.kt:10 foo
// test.kt:9 foo$default (synthetic)
// test.kt:6 box
// test.kt:12 box
// test.kt:13 box
// test.kt:7 box
// EXPECTATIONS JS_IR
// test.kt:4 box
// test.kt:9 foo
// test.kt:6 box
// test.kt:5 box
// test.kt:10 foo
// test.kt:7 box
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
@@ -17,25 +18,25 @@ inline fun foo(f: () -> Unit) {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:5 box
// test.kt:15 box
// test.kt:16 box
// test.kt:6 box
// test.kt:16 box
// test.kt:17 box
// test.kt:7 box
// test.kt:16 box
// test.kt:8 box
// test.kt:17 box
// test.kt:9 box
// test.kt:15 box
// test.kt:16 box
// test.kt:18 box
// test.kt:10 box
// test.kt:11 box
// test.kt:16 box
// test.kt:17 box
// test.kt:11 box
// test.kt:12 box
// test.kt:17 box
// test.kt:18 box
// test.kt:13 box
// EXPECTATIONS JS_IR
// test.kt:15 box
// test.kt:6 box
// test.kt:15 box
// test.kt:10 box
// test.kt:12 box
// test.kt:16 box
// test.kt:7 box
// test.kt:16 box
// test.kt:11 box
// test.kt:13 box
@@ -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
+20 -19
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: foo.kt
import bar
fun foo(x: Int): Int {
@@ -21,26 +22,26 @@ fun bar(x: Int) =
}
// EXPECTATIONS JVM JVM_IR
// test.kt:13 box
// foo.kt:4 foo
// foo.kt:7 foo
// test.kt:17 bar
// test.kt:18 bar
// foo.kt:4 foo
// foo.kt:5 foo
// test.kt:18 bar
// test.kt:21 bar
// foo.kt:7 foo
// test.kt:13 box
// test.kt:14 box
// foo.kt:5 foo
// foo.kt:8 foo
// test.kt:18 bar
// test.kt:19 bar
// foo.kt:5 foo
// foo.kt:6 foo
// test.kt:19 bar
// test.kt:22 bar
// foo.kt:8 foo
// test.kt:14 box
// test.kt:15 box
// EXPECTATIONS JS_IR
// test.kt:13 box
// foo.kt:4 foo
// foo.kt:7 foo
// test.kt:17 bar
// test.kt:18 bar
// foo.kt:4 foo
// test.kt:14 box
// foo.kt:5 foo
// test.kt:21 bar
// test.kt:14 box
// foo.kt:8 foo
// test.kt:18 bar
// test.kt:19 bar
// foo.kt:5 foo
// foo.kt:6 foo
// test.kt:22 bar
// test.kt:15 box
+11 -10
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box(): Int {
@@ -15,16 +16,16 @@ inline fun getB(): Int {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:5 box
// test.kt:14 box
// test.kt:6 box
// test.kt:11 getA
// test.kt:6 box
// test.kt:8 box
// test.kt:14 box
// test.kt:8 box
// test.kt:15 box
// test.kt:7 box
// test.kt:12 getA
// test.kt:7 box
// test.kt:9 box
// test.kt:15 box
// test.kt:9 box
// EXPECTATIONS JS_IR
// test.kt:4 box
// test.kt:11 getA
// test.kt:8 box
// test.kt:5 box
// test.kt:12 getA
// test.kt:9 box
+16 -15
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun foo(x: Int) {
@@ -22,25 +23,25 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:20 box
// test.kt:4 foo
// test.kt:5 foo
// test.kt:8 foo
// test.kt:12 foo
// test.kt:13 foo
// test.kt:17 foo
// test.kt:21 box
// test.kt:4 foo
// test.kt:8 foo
// test.kt:5 foo
// test.kt:6 foo
// test.kt:9 foo
// test.kt:12 foo
// test.kt:15 foo
// test.kt:17 foo
// test.kt:13 foo
// test.kt:14 foo
// test.kt:18 foo
// test.kt:22 box
// test.kt:5 foo
// test.kt:9 foo
// test.kt:10 foo
// test.kt:13 foo
// test.kt:16 foo
// test.kt:18 foo
// test.kt:23 box
// EXPECTATIONS JS_IR
// test.kt:20 box
// test.kt:17 foo
// test.kt:21 box
// test.kt:17 foo
// test.kt:18 foo
// test.kt:22 box
// test.kt:18 foo
// test.kt:23 box
+12 -11
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun foo() {
@@ -15,21 +16,21 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:12 box
// test.kt:4 foo
// test.kt:5 foo
// test.kt:13 box
// test.kt:5 foo
// test.kt:6 foo
// test.kt:14 box
// test.kt:4 foo
// test.kt:7 foo
// test.kt:15 box
// test.kt:5 foo
// test.kt:8 foo
// test.kt:16 box
// EXPECTATIONS JS_IR
// test.kt:12 box
// test.kt:4 foo
// test.kt:5 foo
// test.kt:13 box
// test.kt:5 foo
// test.kt:6 foo
// test.kt:14 box
// test.kt:4 foo
// test.kt:7 foo
// test.kt:15 box
// test.kt:15 box
// test.kt:5 foo
// test.kt:8 foo
// test.kt:16 box
+26 -25
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun foo() {
@@ -23,35 +24,35 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:20 box
// test.kt:4 foo
// test.kt:5 foo
// test.kt:10 foo
// test.kt:11 foo
// test.kt:10 foo
// test.kt:15 foo
// test.kt:21 box
// test.kt:5 foo
// test.kt:6 foo
// test.kt:11 foo
// test.kt:12 foo
// test.kt:11 foo
// test.kt:16 foo
// test.kt:22 box
// test.kt:4 foo
// test.kt:7 foo
// test.kt:10 foo
// test.kt:13 foo
// test.kt:10 foo
// test.kt:15 foo
// test.kt:23 box
// test.kt:5 foo
// test.kt:8 foo
// test.kt:11 foo
// test.kt:14 foo
// test.kt:11 foo
// test.kt:16 foo
// test.kt:24 box
// EXPECTATIONS JS_IR
// test.kt:20 box
// test.kt:4 foo
// test.kt:10 foo
// test.kt:11 foo
// test.kt:10 foo
// test.kt:15 foo
// test.kt:21 box
// test.kt:5 foo
// test.kt:11 foo
// test.kt:12 foo
// test.kt:11 foo
// test.kt:16 foo
// test.kt:22 box
// test.kt:4 foo
// test.kt:10 foo
// test.kt:13 foo
// test.kt:10 foo
// test.kt:15 foo
// test.kt:23 box
// test.kt:23 box
// test.kt:5 foo
// test.kt:11 foo
// test.kt:14 foo
// test.kt:11 foo
// test.kt:16 foo
// test.kt:24 box
+22 -21
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
var value = false
@@ -18,33 +19,33 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:15 box
// test.kt:8 foo
// test.kt:5 cond
// test.kt:8 foo
// test.kt:11 foo
// test.kt:12 foo
// test.kt:16 box
// test.kt:17 box
// test.kt:8 foo
// test.kt:5 cond
// test.kt:8 foo
// test.kt:9 foo
// test.kt:5 cond
// test.kt:6 cond
// test.kt:9 foo
// test.kt:12 foo
// test.kt:13 foo
// test.kt:17 box
// test.kt:18 box
// test.kt:9 foo
// test.kt:6 cond
// test.kt:9 foo
// test.kt:10 foo
// test.kt:6 cond
// test.kt:10 foo
// test.kt:13 foo
// test.kt:19 box
// EXPECTATIONS JS_IR
// test.kt:15 box
// test.kt:8 foo
// test.kt:5 cond
// test.kt:12 foo
// test.kt:16 box
// test.kt:17 box
// test.kt:8 foo
// test.kt:5 cond
// test.kt:9 foo
// test.kt:5 cond
// test.kt:12 foo
// test.kt:18 box
// test.kt:6 cond
// test.kt:13 foo
// test.kt:17 box
// test.kt:18 box
// test.kt:9 foo
// test.kt:6 cond
// test.kt:10 foo
// test.kt:6 cond
// test.kt:13 foo
// test.kt:19 box
+31 -30
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
if (inlineFun()) {
@@ -30,38 +31,38 @@ inline fun Boolean.rid(): Boolean = this
fun nop() {}
// EXPECTATIONS JVM JVM_IR
// test.kt:3 box
// test.kt:24 box
// test.kt:3 box
// test.kt:4 box
// test.kt:30 nop
// test.kt:8 box
// test.kt:24 box
// test.kt:8 box
// test.kt:25 box
// test.kt:4 box
// test.kt:5 box
// test.kt:31 nop
// test.kt:9 box
// test.kt:25 box
// test.kt:9 box
// test.kt:29 box
// test.kt:9 box
// test.kt:10 box
// test.kt:25 box
// test.kt:10 box
// test.kt:12 box
// test.kt:31 nop
// test.kt:17 box
// test.kt:25 box
// test.kt:17 box
// test.kt:16 box
// test.kt:28 box
// test.kt:8 box
// test.kt:9 box
// test.kt:24 box
// test.kt:9 box
// test.kt:11 box
// test.kt:30 nop
// test.kt:16 box
// test.kt:24 box
// test.kt:16 box
// test.kt:15 box
// test.kt:27 box
// test.kt:15 box
// test.kt:19 box
// test.kt:30 nop
// test.kt:21 box
// test.kt:20 box
// test.kt:31 nop
// test.kt:22 box
// EXPECTATIONS JS_IR
// test.kt:4 box
// test.kt:30 nop
// test.kt:24 box
// test.kt:7 box
// test.kt:11 box
// test.kt:30 nop
// test.kt:19 box
// test.kt:30 nop
// test.kt:21 box
// test.kt:5 box
// test.kt:31 nop
// test.kt:25 box
// test.kt:8 box
// test.kt:12 box
// test.kt:31 nop
// test.kt:20 box
// test.kt:31 nop
// test.kt:22 box
+14 -13
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// IGNORE_BACKEND: JVM
// FILE: test.kt
fun box() {
@@ -27,33 +28,33 @@ fun box() {
// that is the actual evaluation order.
// EXPECTATIONS JVM JVM_IR
// test.kt:4 box
// test.kt:5 box
// test.kt:6 box
// test.kt:7 box
// test.kt:8 box
// test.kt:7 box
// test.kt:9 box
// test.kt:8 box
// test.kt:10 box
// test.kt:11 box
// test.kt:10 box
// test.kt:12 box
// test.kt:14 box
// test.kt:11 box
// test.kt:13 box
// test.kt:16 box
// test.kt:15 box
// test.kt:14 box
// test.kt:17 box
// test.kt:18 box
// test.kt:17 box
// test.kt:16 box
// test.kt:15 box
// test.kt:18 box
// test.kt:19 box
// EXPECTATIONS JS_IR
// test.kt:4 box
// test.kt:5 box
// test.kt:6 box
// test.kt:7 box
// test.kt:9 box
// test.kt:8 box
// test.kt:10 box
// test.kt:12 box
// test.kt:14 box
// test.kt:16 box
// test.kt:18 box
// test.kt:11 box
// test.kt:13 box
// test.kt:15 box
// test.kt:17 box
// test.kt:19 box
+35 -34
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
@@ -28,41 +29,41 @@ class A {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:4 box
// test.kt:20 <clinit>
// test.kt:15 <init>
// test.kt:20 <clinit>
// test.kt:20 <clinit>
// test.kt:4 box
// test.kt:7 <init>
// test.kt:4 box
// test.kt:10 test
// test.kt:17 foo
// test.kt:18 foo
// test.kt:11 test
// test.kt:22 getProp
// test.kt:11 test
// test.kt:12 test
// test.kt:25 setProp
// test.kt:26 setProp
// test.kt:13 test
// test.kt:5 box
// test.kt:21 <clinit>
// test.kt:16 <init>
// test.kt:21 <clinit>
// test.kt:21 <clinit>
// test.kt:5 box
// test.kt:8 <init>
// test.kt:5 box
// test.kt:11 test
// test.kt:18 foo
// test.kt:19 foo
// test.kt:12 test
// test.kt:23 getProp
// test.kt:12 test
// test.kt:13 test
// test.kt:26 setProp
// test.kt:27 setProp
// test.kt:14 test
// test.kt:6 box
// EXPECTATIONS JS_IR
// test.kt:4 box
// test.kt:7 <init>
// test.kt:20 <init>
// test.kt:15 <init>
// test.kt:7 <init>
// test.kt:4 box
// test.kt:10 test
// test.kt:10 test
// test.kt:17 foo
// test.kt:18 foo
// test.kt:11 test
// test.kt:11 test
// test.kt:22 <get-prop>
// test.kt:12 test
// test.kt:13 test
// test.kt:5 box
// test.kt:8 <init>
// test.kt:21 <init>
// test.kt:16 <init>
// test.kt:8 <init>
// test.kt:5 box
// test.kt:11 test
// test.kt:11 test
// test.kt:18 foo
// test.kt:19 foo
// test.kt:12 test
// test.kt:12 test
// test.kt:23 <get-prop>
// test.kt:13 test
// test.kt:14 test
// test.kt:6 box
+23 -22
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
@@ -17,29 +18,29 @@ fun test(b: B) {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:4 box
// test.kt:7 <init>
// test.kt:4 box
// test.kt:9 <init>
// test.kt:4 box
// test.kt:14 test
// test.kt:15 test
// test.kt:9 getA
// test.kt:15 test
// test.kt:10 invoke
// test.kt:16 test
// test.kt:14 test
// test.kt:17 test
// test.kt:5 box
// test.kt:8 <init>
// test.kt:5 box
// test.kt:10 <init>
// test.kt:5 box
// test.kt:15 test
// test.kt:16 test
// test.kt:10 getA
// test.kt:16 test
// test.kt:11 invoke
// test.kt:17 test
// test.kt:15 test
// test.kt:18 test
// test.kt:6 box
// EXPECTATIONS JS_IR
// test.kt:4 box
// test.kt:7 <init>
// test.kt:4 box
// test.kt:9 <init>
// test.kt:9 <init>
// test.kt:4 box
// test.kt:10 invoke
// test.kt:17 test
// test.kt:5 box
// test.kt:8 <init>
// test.kt:5 box
// test.kt:10 <init>
// test.kt:10 <init>
// test.kt:5 box
// test.kt:11 invoke
// test.kt:18 test
// test.kt:6 box
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
@@ -20,26 +21,26 @@ inline fun baz() {
fun nop() {}
// EXPECTATIONS JVM JVM_IR
// test.kt:5 box
// test.kt:12 box
// test.kt:20 nop
// test.kt:13 box
// test.kt:6 box
// test.kt:20 nop
// test.kt:7 box
// test.kt:17 box
// test.kt:20 nop
// test.kt:18 box
// test.kt:8 box
// test.kt:13 box
// test.kt:21 nop
// test.kt:14 box
// test.kt:7 box
// test.kt:21 nop
// test.kt:8 box
// test.kt:18 box
// test.kt:21 nop
// test.kt:19 box
// test.kt:9 box
// test.kt:14 box
// test.kt:15 box
// test.kt:10 box
// EXPECTATIONS JS_IR
// test.kt:12 box
// test.kt:20 nop
// test.kt:6 box
// test.kt:20 nop
// test.kt:17 box
// test.kt:20 nop
// test.kt:9 box
// test.kt:13 box
// test.kt:21 nop
// test.kt:7 box
// test.kt:21 nop
// test.kt:18 box
// test.kt:21 nop
// test.kt:10 box
+47 -46
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
class Foo {
@@ -55,77 +56,77 @@ fun box() {
// declaration for the return in the constructor.
// EXPECTATIONS JVM JVM_IR
// test.kt:48 box
// test.kt:3 <init>
// test.kt:6 <init>
// test.kt:7 <init>
// test.kt:45 x
// test.kt:49 box
// test.kt:4 <init>
// test.kt:7 <init>
// test.kt:8 <init>
// test.kt:46 x
// test.kt:8 <init>
// test.kt:9 <init>
// EXPECTATIONS JVM_IR
// test.kt:3 <init>
// test.kt:4 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:48 box
// test.kt:49 box
// test.kt:11 <init>
// test.kt:50 box
// test.kt:12 <init>
// test.kt:13 <init>
// test.kt:14 <init>
// test.kt:16 <init>
// test.kt:15 <init>
// test.kt:17 <init>
// test.kt:18 <init>
// test.kt:19 <init>
// EXPECTATIONS JVM_IR
// test.kt:11 <init>
// test.kt:12 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:49 box
// test.kt:50 box
// test.kt:21 <init>
// test.kt:51 box
// test.kt:22 <init>
// test.kt:23 <init>
// test.kt:24 <init>
// test.kt:26 <init>
// test.kt:45 x
// test.kt:26 <init>
// test.kt:28 <init>
// test.kt:25 <init>
// test.kt:27 <init>
// test.kt:46 x
// test.kt:27 <init>
// test.kt:29 <init>
// test.kt:30 <init>
// test.kt:31 <init>
// EXPECTATIONS JVM_IR
// test.kt:21 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:50 box
// test.kt:51 box
// test.kt:33 <init>
// test.kt:34 <init>
// test.kt:36 <init>
// test.kt:38 <init>
// test.kt:39 <init>
// test.kt:40 <init>
// test.kt:42 <init>
// EXPECTATIONS JVM_IR
// test.kt:33 <init>
// test.kt:22 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:51 box
// test.kt:52 box
// test.kt:34 <init>
// test.kt:35 <init>
// test.kt:37 <init>
// test.kt:39 <init>
// test.kt:40 <init>
// test.kt:41 <init>
// test.kt:43 <init>
// EXPECTATIONS JVM_IR
// test.kt:34 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:52 box
// test.kt:53 box
// EXPECTATIONS JS_IR
// test.kt:48 box
// test.kt:7 <init>
// test.kt:45 x
// test.kt:3 <init>
// test.kt:49 box
// test.kt:13 <init>
// test.kt:17 <init>
// test.kt:11 <init>
// test.kt:8 <init>
// test.kt:46 x
// test.kt:4 <init>
// test.kt:50 box
// test.kt:23 <init>
// test.kt:26 <init>
// test.kt:45 x
// test.kt:29 <init>
// test.kt:21 <init>
// test.kt:14 <init>
// test.kt:18 <init>
// test.kt:12 <init>
// test.kt:51 box
// test.kt:24 <init>
// test.kt:27 <init>
// test.kt:46 x
// test.kt:30 <init>
// test.kt:22 <init>
// test.kt:52 box
// test.kt:35 <init>
// test.kt:37 <init>
// test.kt:40 <init>
// test.kt:43 <init>
// test.kt:34 <init>
// test.kt:36 <init>
// test.kt:39 <init>
// test.kt:42 <init>
// test.kt:33 <init>
// test.kt:52 box
// test.kt:53 box
+23 -22
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
class A {
@@ -31,35 +32,35 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:29 box
// test.kt:7 <clinit>
// test.kt:30 box
// test.kt:8 <clinit>
// test.kt:9 <clinit>
// test.kt:11 <clinit>
// test.kt:13 <clinit>
// test.kt:15 <clinit>
// test.kt:10 <clinit>
// test.kt:12 <clinit>
// test.kt:14 <clinit>
// test.kt:16 <clinit>
// test.kt:17 <clinit>
// test.kt:19 <clinit>
// test.kt:21 <clinit>
// test.kt:18 <clinit>
// test.kt:20 <clinit>
// test.kt:22 <clinit>
// test.kt:11 getX
// test.kt:11 getX
// test.kt:29 box
// test.kt:30 box
// test.kt:5 getS
// test.kt:5 getS
// test.kt:23 <clinit>
// test.kt:12 getX
// test.kt:12 getX
// test.kt:30 box
// test.kt:31 box
// test.kt:6 getS
// test.kt:6 getS
// test.kt:31 box
// test.kt:32 box
// EXPECTATIONS JS_IR
// test.kt:29 box
// test.kt:8 <init>
// test.kt:11 <init>
// test.kt:26 x
// test.kt:13 <init>
// test.kt:16 <init>
// test.kt:21 <init>
// test.kt:4 <init>
// test.kt:30 box
// test.kt:31 box
// test.kt:9 <init>
// test.kt:12 <init>
// test.kt:27 x
// test.kt:14 <init>
// test.kt:17 <init>
// test.kt:22 <init>
// test.kt:5 <init>
// test.kt:31 box
// test.kt:32 box
+14 -13
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
var x = false
@@ -16,27 +17,27 @@ inline fun f(block: () -> Unit) {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:3 box
// test.kt:4 box
// test.kt:15 box
// test.kt:5 box
// test.kt:16 box
// test.kt:6 box
// test.kt:15 box
// test.kt:16 box
// test.kt:7 box
// test.kt:16 box
// test.kt:17 box
// test.kt:8 box
// test.kt:7 box
// test.kt:9 box
// test.kt:15 box
// test.kt:8 box
// test.kt:10 box
// test.kt:11 box
// test.kt:15 box
// test.kt:16 box
// test.kt:11 box
// test.kt:12 box
// test.kt:16 box
// test.kt:17 box
// test.kt:13 box
// EXPECTATIONS JS_IR
// test.kt:3 box
// test.kt:5 box
// test.kt:8 box
// test.kt:10 box
// test.kt:12 box
// test.kt:4 box
// test.kt:6 box
// test.kt:9 box
// test.kt:11 box
// test.kt:13 box
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
var x = false
@@ -11,17 +12,17 @@ inline fun f(block: () -> Unit) {
fun g() {}
// EXPECTATIONS JVM JVM_IR
// test.kt:3 box
// test.kt:4 box
// test.kt:8 box
// test.kt:4 box
// test.kt:11 g
// test.kt:8 box
// test.kt:5 box
// test.kt:9 box
// test.kt:5 box
// test.kt:12 g
// test.kt:9 box
// test.kt:10 box
// test.kt:6 box
// EXPECTATIONS JS_IR
// test.kt:3 box
// test.kt:4 box
// test.kt:11 g
// test.kt:5 box
// test.kt:5 box
// test.kt:12 g
// test.kt:6 box
+15 -14
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
@@ -24,31 +25,31 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:9 box
// test.kt:5 box
// test.kt:10 box
// test.kt:6 box
// test.kt:11 box
// test.kt:5 box
// test.kt:12 box
// test.kt:6 box
// test.kt:13 box
// test.kt:5 box
// test.kt:7 box
// test.kt:14 box
// test.kt:6 box
// test.kt:15 box
// test.kt:5 box
// test.kt:16 box
// test.kt:6 box
// test.kt:17 box
// test.kt:5 box
// test.kt:7 box
// test.kt:18 box
// test.kt:20 box
// test.kt:5 box
// test.kt:6 box
// test.kt:19 box
// test.kt:21 box
// test.kt:6 box
// test.kt:22 box
// test.kt:5 box
// test.kt:6 box
// test.kt:23 box
// test.kt:5 box
// test.kt:6 box
// test.kt:7 box
// test.kt:24 box
// test.kt:6 box
// test.kt:7 box
// test.kt:25 box
// EXPECTATIONS JS_IR
// test.kt:24 box
// test.kt:25 box
+11 -10
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// IGNORE_BACKEND: JVM_IR
// FILE: test.kt
interface ObjectFace
@@ -14,16 +15,16 @@ fun box() {
// IR backend has additional steps on the way _out_ of the init block.
// EXPECTATIONS JVM JVM_IR
// test.kt:11 box
// test.kt:5 makeFace
// test.kt:5 <init>
// test.kt:7 <init>
// test.kt:8 makeFace
// test.kt:11 box
// test.kt:12 box
// test.kt:6 makeFace
// test.kt:6 <init>
// test.kt:8 <init>
// test.kt:9 makeFace
// test.kt:12 box
// test.kt:13 box
// EXPECTATIONS JS_IR
// test.kt:11 box
// test.kt:8 makeFace
// test.kt:5 <init>
// test.kt:12 box
// test.kt:12 box
// test.kt:9 makeFace
// test.kt:6 <init>
// test.kt:13 box
+13 -12
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// IGNORE_BACKEND: JVM_IR
// FILE: test.kt
class A {
@@ -15,19 +16,19 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:14 box
// test.kt:3 <init>
// test.kt:4 <init>
// test.kt:14 box
// test.kt:7 foo
// test.kt:9 foo
// test.kt:10 foo
// test.kt:15 box
// test.kt:4 <init>
// test.kt:5 <init>
// test.kt:15 box
// test.kt:8 foo
// test.kt:10 foo
// test.kt:11 foo
// test.kt:16 box
// EXPECTATIONS JS_IR
// test.kt:14 box
// test.kt:15 box
// test.kt:5 <init>
// test.kt:4 <init>
// test.kt:3 <init>
// test.kt:14 box
// test.kt:10 foo
// test.kt:15 box
// test.kt:15 box
// test.kt:11 foo
// test.kt:16 box
+12 -11
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// IGNORE_INLINER: IR
// FILE: test.kt
@@ -9,17 +10,17 @@ fun box() {
inline fun foo() = {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:5 box
// test1.kt:9 box
// test1.kt:10 box
// EXPECTATIONS JVM_IR
// test.kt:5 box
// test1.kt:10 invoke
// test.kt:5 box
// EXPECTATIONS JVM JVM_IR
// test.kt:6 box
// test1.kt:10 box
// test1.kt:11 box
// EXPECTATIONS JVM_IR
// test.kt:6 box
// test1.kt:11 invoke
// test.kt:6 box
// EXPECTATIONS JVM JVM_IR
// test.kt:7 box
// EXPECTATIONS JS_IR
// test1.kt:9 box
// test1.kt:7 box$lambda
// test.kt:6 box
// test1.kt:10 box
// test1.kt:8 box$lambda
// test.kt:7 box
+11 -10
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// IGNORE_INLINER: IR
// FILE: test.kt
@@ -10,23 +11,23 @@ fun box() {
inline fun foo() = {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:5 box
// test1.kt:10 box
// test.kt:6 box
// test1.kt:11 box
// test1.kt:12 box
// EXPECTATIONS JVM_IR
// test.kt:5 box
// test.kt:6 box
// test1.kt:11 invoke
// test.kt:6 box
// EXPECTATIONS JVM_IR
// test.kt:7 box
// test1.kt:12 invoke
// test.kt:7 box
// EXPECTATIONS JVM_IR
// test.kt:8 box
// EXPECTATIONS JVM
// test.kt:5 box
// test.kt:6 box
// test.kt:7 box
// test.kt:8 box
// EXPECTATIONS JS_IR
// test1.kt:10 box
// test.kt:6 box
// test1.kt:8 box$lambda
// test1.kt:11 box
// test.kt:7 box
// test1.kt:9 box$lambda
// test.kt:8 box
+28 -27
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// IGNORE_INLINER: IR
// FILE: test.kt
@@ -15,38 +16,38 @@ fun baz(v:(() -> Unit)) {
v()
}
// EXPECTATIONS JVM JVM_IR
// test.kt:5 box
// test1.kt:11 box
// test.kt:6 box
// test1.kt:12 box
// test.kt:5 box
// test3.kt:15 baz
// EXPECTATIONS JVM_IR
// test1.kt:12 invoke
// test3.kt:15 baz
// EXPECTATIONS JVM JVM_IR
// test1.kt:13 box
// test.kt:6 box
// test3.kt:16 baz
// test.kt:6 box
// test1.kt:11 box
// test1.kt:12 box
// test.kt:6 box
// EXPECTATIONS JVM_IR
// test1.kt:13 invoke
// test3.kt:16 baz
// EXPECTATIONS JVM JVM_IR
// test3.kt:17 baz
// test.kt:7 box
// test1.kt:12 box
// test1.kt:13 box
// test.kt:7 box
// EXPECTATIONS JVM_IR
// test3.kt:15 baz
// test1.kt:12 invoke
// EXPECTATIONS JVM JVM_IR
// test3.kt:15 baz
// test3.kt:16 baz
// test.kt:8 box
// EXPECTATIONS JVM_IR
// test3.kt:16 baz
// test1.kt:13 invoke
// EXPECTATIONS JVM JVM_IR
// test3.kt:16 baz
// test3.kt:17 baz
// test.kt:9 box
// EXPECTATIONS JS_IR
// test1.kt:11 box
// test.kt:5 box
// test3.kt:15 baz
// test1.kt:9 box$lambda
// test3.kt:16 baz
// test1.kt:11 box
// test.kt:7 box
// test3.kt:15 baz
// test1.kt:9 box$lambda
// test1.kt:12 box
// test.kt:6 box
// test3.kt:16 baz
// test.kt:8 box$lambda
// test3.kt:17 baz
// test1.kt:12 box
// test.kt:8 box
// test3.kt:16 baz
// test.kt:8 box$lambda
// test3.kt:17 baz
// test.kt:9 box
+9 -8
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
inline fun foo(stringMaker: () -> String): String {
@@ -14,15 +15,15 @@ fun box(): String {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:8 box
// test.kt:4 box
// test.kt:8 box
// test.kt:4 box
// test.kt:9 box
// test.kt:4 box
// test.kt:5 box
// test.kt:9 box
// test.kt:5 box
// test.kt:10 box
// test.kt:4 box
// test.kt:13 box
// test.kt:5 box
// test.kt:11 box
// test.kt:5 box
// test.kt:14 box
// EXPECTATIONS JS_IR
// test.kt:13 box
// test.kt:14 box
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
inline fun foo(stringMaker: () -> String = { "OK" }): String {
return stringMaker()
@@ -17,17 +18,17 @@ fun box(): String {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:14 box
// test.kt:2 box
// test.kt:3 box
// test.kt:2 box
// test.kt:3 box
// test.kt:15 box
// test.kt:6 box
// test.kt:10 box
// test.kt:7 box
// test.kt:10 box
// test.kt:3 box
// test.kt:4 box
// test.kt:3 box
// test.kt:4 box
// test.kt:16 box
// test.kt:7 box
// test.kt:11 box
// test.kt:8 box
// test.kt:11 box
// test.kt:17 box
// EXPECTATIONS JS_IR
// test.kt:16 box
// test.kt:17 box
+18 -17
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun normalFunction() {
@@ -24,25 +25,25 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:22 box
// test.kt:12 test1
// test.kt:8 test1
// test.kt:9 test1
// test.kt:13 test1
// test.kt:14 test1
// test.kt:23 box
// test.kt:17 test2
// test.kt:4 normalFunction
// test.kt:5 normalFunction
// test.kt:18 test2
// test.kt:19 test2
// test.kt:13 test1
// test.kt:9 test1
// test.kt:10 test1
// test.kt:14 test1
// test.kt:15 test1
// test.kt:24 box
// test.kt:18 test2
// test.kt:5 normalFunction
// test.kt:6 normalFunction
// test.kt:19 test2
// test.kt:20 test2
// test.kt:25 box
// EXPECTATIONS JS_IR
// test.kt:22 box
// test.kt:14 test1
// test.kt:23 box
// test.kt:17 test2
// test.kt:5 normalFunction
// test.kt:19 test2
// test.kt:24 box
// test.kt:15 test1
// test.kt:24 box
// test.kt:18 test2
// test.kt:6 normalFunction
// test.kt:20 test2
// test.kt:25 box
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
@@ -13,16 +14,16 @@ inline fun lookAtMe(f: (String) -> Unit) {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:5 box
// test.kt:11 box
// test.kt:12 box
// test.kt:6 box
// test.kt:7 box
// test.kt:12 box
// test.kt:13 box
// test.kt:7 box
// test.kt:8 box
// test.kt:13 box
// test.kt:14 box
// test.kt:9 box
// EXPECTATIONS JS_IR
// test.kt:11 box
// test.kt:6 box
// test.kt:8 box
// test.kt:12 box
// test.kt:7 box
// test.kt:9 box
+14 -13
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
@@ -12,23 +13,23 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:5 box
// EXPECTATIONS JVM
// test.kt:6 box
// EXPECTATIONS JVM JVM_IR
// test.kt:9 box
// test.kt:10 box
// EXPECTATIONS JVM
// test.kt:7 invoke
// test.kt:8 invoke
// EXPECTATIONS JVM_IR
// test.kt:7 box$bar
// test.kt:8 box$bar
// test.kt:7 box
// EXPECTATIONS JVM JVM_IR
// test.kt:10 box
// test.kt:11 box
// EXPECTATIONS JVM
// test.kt:8 invoke
// test.kt:9 invoke
// EXPECTATIONS JVM_IR
// test.kt:8 box$bar
// test.kt:9 box$bar
// EXPECTATIONS JVM JVM_IR
// test.kt:12 box
// test.kt:13 box
// EXPECTATIONS JS_IR
// test.kt:10 box
// test.kt:8 box$bar
// test.kt:12 box
// test.kt:11 box
// test.kt:9 box$bar
// test.kt:13 box
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
@@ -10,22 +11,22 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:5 box
// EXPECTATIONS JVM
// test.kt:6 box
// EXPECTATIONS JVM JVM_IR
// test.kt:7 box
// test.kt:8 box
// EXPECTATIONS JVM
// test.kt:6 invoke
// EXPECTATIONS JVM_IR
// test.kt:6 box$bar
// test.kt:7 box
// EXPECTATIONS JVM JVM_IR
// test.kt:8 box
// test.kt:9 box
// EXPECTATIONS JVM
// test.kt:7 invoke
// EXPECTATIONS JVM_IR
// test.kt:7 box$bar
// EXPECTATIONS JVM JVM_IR
// test.kt:9 box
// test.kt:10 box
// test.kt:11 box
// EXPECTATIONS JS_IR
// test.kt:8 box
// test.kt:6 box$bar
// test.kt:10 box
// test.kt:9 box
// test.kt:7 box$bar
// test.kt:11 box
+8 -7
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// IGNORE_BACKEND_K2: JVM_IR
// FILE: test.kt
@@ -15,12 +16,12 @@ fun box(): String {
// EXPECTATIONS JVM JVM_IR
// test.kt:8 box
// test.kt:6 box
// test.kt:11 box
// test.kt:13 box
// test.kt:9 box
// test.kt:7 box
// test.kt:12 box
// test.kt:14 box
// EXPECTATIONS JS_IR
// test.kt:8 box
// test.kt:11 box
// test.kt:13 box
// test.kt:9 box
// test.kt:12 box
// test.kt:14 box
+9 -8
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// MODULE: lib
// FILE: a.kt
@@ -16,17 +17,17 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:14 box
// a.kt:4 a
// test.kt:14 box
// test.kt:15 box
// b.kt:8 b
// a.kt:5 a
// test.kt:15 box
// test.kt:16 box
// b.kt:9 b
// test.kt:16 box
// test.kt:17 box
// EXPECTATIONS JS_IR
// test.kt:14 box
// a.kt:4 a
// test.kt:15 box
// b.kt:8 b
// test.kt:16 box
// a.kt:5 a
// test.kt:16 box
// b.kt:9 b
// test.kt:17 box
+12 -11
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
// KT-17753
@@ -12,17 +13,17 @@ fun test(a: Boolean, b: Boolean, c: Boolean): Boolean {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:5 box
// EXPECTATIONS JVM_IR
// test.kt:9 test
// test.kt:10 test
// EXPECTATIONS JVM JVM_IR
// test.kt:11 test
// test.kt:9 test
// test.kt:5 box
// test.kt:6 box
// EXPECTATIONS JVM_IR
// test.kt:10 test
// test.kt:11 test
// EXPECTATIONS JVM JVM_IR
// test.kt:12 test
// test.kt:10 test
// test.kt:6 box
// test.kt:7 box
// EXPECTATIONS JS_IR
// test.kt:5 box
// test.kt:9 test
// test.kt:6 box
// test.kt:6 box
// test.kt:10 test
// test.kt:7 box
+7 -6
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
@@ -10,12 +11,12 @@ fun foo(i: Int) {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:6 box
// test.kt:5 box
// test.kt:4 box
// test.kt:10 foo
// test.kt:7 box
// test.kt:11 foo
// test.kt:8 box
// EXPECTATIONS JS_IR
// test.kt:4 box
// test.kt:10 foo
// test.kt:7 box
// test.kt:5 box
// test.kt:11 foo
// test.kt:8 box
+7 -6
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
@@ -9,13 +10,13 @@ infix fun Int.foo(i: Int) {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:4 box
// test.kt:5 box
// test.kt:4 box
// test.kt:9 foo
// test.kt:6 box
// test.kt:5 box
// test.kt:10 foo
// test.kt:7 box
// EXPECTATIONS JS_IR
// test.kt:4 box
// test.kt:9 foo
// test.kt:6 box
// test.kt:5 box
// test.kt:10 foo
// test.kt:7 box
+16 -15
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
var x = false
@@ -17,24 +18,24 @@ fun g() {}
// up for JVM_IR.
// EXPECTATIONS JVM JVM_IR
// test.kt:3 box
// test.kt:4 box
// test.kt:8 f
// EXPECTATIONS JVM_IR
// test.kt:4 invoke
// EXPECTATIONS JVM JVM_IR
// test.kt:11 g
// test.kt:4 invoke
// test.kt:8 f
// test.kt:9 f
// test.kt:5 box
// test.kt:9 f
// EXPECTATIONS JVM_IR
// test.kt:5 invoke
// EXPECTATIONS JVM JVM_IR
// test.kt:12 g
// test.kt:5 invoke
// test.kt:9 f
// test.kt:10 f
// test.kt:6 box
// EXPECTATIONS JS_IR
// test.kt:3 box
// test.kt:4 box
// test.kt:4 g$ref
// test.kt:4 box
// test.kt:8 f
// test.kt:11 g
// test.kt:9 f
// test.kt:5 box
// test.kt:5 g$ref
// test.kt:5 box
// test.kt:9 f
// test.kt:12 g
// test.kt:10 f
// test.kt:6 box
+21 -20
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// This is same as kotlin/compiler/testData/codegen/boxInline/smap/smap.kt
// FILE: test.kt
@@ -42,32 +43,32 @@ inline fun html(init: () -> Unit) {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:19 box
// test.kt:7 box
// test.kt:9 box
// 1.kt:41 box
// 1.kt:29 box
// test.kt:20 box
// test.kt:8 box
// test.kt:10 box
// 1.kt:37 box
// 1.kt:33 box
// 1.kt:34 box
// 1.kt:42 box
// 1.kt:30 box
// test.kt:11 box
// test.kt:12 box
// 1.kt:38 box
// 1.kt:34 box
// 1.kt:35 box
// 1.kt:37 box
// test.kt:12 box
// test.kt:13 box
// 1.kt:29 box
// 1.kt:35 box
// 1.kt:36 box
// 1.kt:38 box
// test.kt:14 box
// 1.kt:30 box
// 1.kt:41 box
// test.kt:15 box
// test.kt:19 box
// test.kt:21 box
// 1.kt:31 box
// 1.kt:42 box
// test.kt:16 box
// test.kt:20 box
// test.kt:22 box
// EXPECTATIONS JS_IR
// test.kt:7 box
// 1.kt:33 box
// 1.kt:36 box
// test.kt:8 box
// 1.kt:34 box
// 1.kt:37 box
// test.kt:15 box
// test.kt:21 box
// 1.kt:38 box
// test.kt:16 box
// test.kt:22 box
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// WITH_STDLIB
// TODO: Enable the test on JS BE, but now it is too flaky there.
// TARGET_BACKEND: JVM
@@ -23,34 +24,34 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:17 box
// test.kt:9 builder
// test.kt:18 box
// test.kt:10 builder
// Continuation.kt:66 <init>
// test.kt:9 builder
// test.kt:10 builder
// Continuation.kt:68 getContext
// test.kt:-1 <init>
// test.kt:-1 create
// test.kt:14 empty
// test.kt:18 invokeSuspend
// test.kt:15 empty
// test.kt:19 invokeSuspend
// test.kt:9 builder
// test.kt:20 invokeSuspend
// test.kt:10 builder
// Continuation.kt:66 <init>
// test.kt:9 builder
// test.kt:10 builder
// Continuation.kt:68 getContext
// test.kt:-1 <init>
// test.kt:-1 create
// test.kt:14 empty
// test.kt:20 invokeSuspend
// test.kt:15 empty
// test.kt:21 invokeSuspend
// Continuation.kt:71 resumeWith
// test.kt:10 resumeWith
// test.kt:11 resumeWith
// Continuation.kt:71 resumeWith
// test.kt:12 builder
// test.kt:22 invokeSuspend
// Continuation.kt:71 resumeWith
// test.kt:10 resumeWith
// test.kt:11 resumeWith
// test.kt:12 resumeWith
// Continuation.kt:71 resumeWith
// test.kt:12 builder
// test.kt:23 box
// test.kt:13 builder
// test.kt:23 invokeSuspend
// Continuation.kt:71 resumeWith
// test.kt:11 resumeWith
// test.kt:12 resumeWith
// Continuation.kt:71 resumeWith
// test.kt:13 builder
// test.kt:24 box
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
@@ -13,15 +14,15 @@ inline fun lookAtMe(f: () -> Int) {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:5 box
// test.kt:11 box
// test.kt:12 box
// test.kt:6 box
// test.kt:12 box
// test.kt:13 box
// test.kt:8 box
// test.kt:7 box
// test.kt:13 box
// test.kt:14 box
// test.kt:9 box
// EXPECTATIONS JS_IR
// test.kt:11 box
// test.kt:12 box
// test.kt:8 box
// test.kt:13 box
// test.kt:9 box
+30 -29
View File
@@ -1,7 +1,8 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
test("OK")
test(null)
@@ -21,58 +22,58 @@ fun testExpressionBody(nullable: String?) =
nullable.length == 2
// EXPECTATIONS JVM
// test.kt:6 box
// test.kt:15 test
// test.kt:13 test
// test.kt:6 box
// test.kt:7 box
// test.kt:15 test
// test.kt:13 test
// test.kt:16 test
// test.kt:14 test
// test.kt:7 box
// test.kt:8 box
// test.kt:21 testExpressionBody
// test.kt:16 test
// test.kt:14 test
// test.kt:8 box
// test.kt:9 box
// test.kt:21 testExpressionBody
// test.kt:22 testExpressionBody
// test.kt:9 box
// test.kt:10 box
// test.kt:22 testExpressionBody
// test.kt:10 box
// test.kt:11 box
// EXPECTATIONS JVM_IR
// test.kt:6 box
// test.kt:13 test
// test.kt:15 test
// test.kt:13 test
// test.kt:6 box
// test.kt:7 box
// test.kt:13 test
// test.kt:15 test
// test.kt:13 test
// test.kt:14 test
// test.kt:16 test
// test.kt:14 test
// test.kt:7 box
// test.kt:8 box
// test.kt:19 testExpressionBody
// test.kt:21 testExpressionBody
// test.kt:14 test
// test.kt:16 test
// test.kt:14 test
// test.kt:8 box
// test.kt:9 box
// test.kt:19 testExpressionBody
// test.kt:21 testExpressionBody
// test.kt:20 testExpressionBody
// test.kt:22 testExpressionBody
// test.kt:9 box
// test.kt:10 box
// test.kt:20 testExpressionBody
// test.kt:22 testExpressionBody
// test.kt:10 box
// test.kt:11 box
// EXPECTATIONS JS_IR
// test.kt:6 box
// test.kt:13 test
// test.kt:7 box
// test.kt:13 test
// test.kt:14 test
// test.kt:8 box
// test.kt:21 testExpressionBody
// test.kt:14 test
// test.kt:9 box
// test.kt:21 testExpressionBody
// test.kt:10 box
// test.kt:22 testExpressionBody
// test.kt:10 box
// test.kt:22 testExpressionBody
// test.kt:11 box
+37 -36
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
interface MyInterfaceWithoutBreakpoints {
@@ -34,53 +35,53 @@ fun box() {
// EXPECTATIONS JVM JVM_IR
// test.kt:30 box
// test.kt:15 <init>
// test.kt:17 <init>
// test.kt:20 <init>
// EXPECTATIONS JVM_IR
// test.kt:15 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:30 box
// test.kt:31 box
// test.kt:15 testPropertyInInterface
// test.kt:8 testPropertyInInterface
// test.kt:17 getPropVal2
// test.kt:8 testPropertyInInterface
// test.kt:16 <init>
// test.kt:18 <init>
// test.kt:21 <init>
// EXPECTATIONS JVM_IR
// test.kt:16 <init>
// EXPECTATIONS JVM JVM_IR
// test.kt:31 box
// test.kt:32 box
// test.kt:16 testPropertyInInterface
// test.kt:9 testPropertyInInterface
// test.kt:20 getPropVar2
// test.kt:18 getPropVal2
// test.kt:9 testPropertyInInterface
// test.kt:10 testPropertyInInterface
// test.kt:20 setPropVar2
// test.kt:21 getPropVar2
// test.kt:10 testPropertyInInterface
// test.kt:11 testPropertyInInterface
// test.kt:15 testPropertyInInterface
// test.kt:32 box
// test.kt:23 testPropertyInInterfaceImpl
// test.kt:17 getPropVal2
// test.kt:23 testPropertyInInterfaceImpl
// test.kt:21 setPropVar2
// test.kt:12 testPropertyInInterface
// test.kt:16 testPropertyInInterface
// test.kt:33 box
// test.kt:24 testPropertyInInterfaceImpl
// test.kt:20 getPropVar2
// test.kt:18 getPropVal2
// test.kt:24 testPropertyInInterfaceImpl
// test.kt:25 testPropertyInInterfaceImpl
// test.kt:20 setPropVar2
// test.kt:21 getPropVar2
// test.kt:25 testPropertyInInterfaceImpl
// test.kt:26 testPropertyInInterfaceImpl
// test.kt:33 box
// test.kt:21 setPropVar2
// test.kt:27 testPropertyInInterfaceImpl
// test.kt:34 box
// EXPECTATIONS JS_IR
// test.kt:30 box
// test.kt:17 <init>
// test.kt:20 <init>
// test.kt:15 <init>
// test.kt:31 box
// test.kt:8 testPropertyInInterface
// test.kt:17 <get-propVal2>
// test.kt:9 testPropertyInInterface
// test.kt:20 <get-propVar2>
// test.kt:10 testPropertyInInterface
// test.kt:20 <set-propVar2>
// test.kt:20 <set-propVar2>
// test.kt:11 testPropertyInInterface
// test.kt:18 <init>
// test.kt:21 <init>
// test.kt:16 <init>
// test.kt:32 box
// test.kt:25 testPropertyInInterfaceImpl
// test.kt:26 testPropertyInInterfaceImpl
// test.kt:9 testPropertyInInterface
// test.kt:18 <get-propVal2>
// test.kt:10 testPropertyInInterface
// test.kt:21 <get-propVar2>
// test.kt:11 testPropertyInInterface
// test.kt:21 <set-propVar2>
// test.kt:21 <set-propVar2>
// test.kt:12 testPropertyInInterface
// test.kt:33 box
// test.kt:26 testPropertyInInterfaceImpl
// test.kt:27 testPropertyInInterfaceImpl
// test.kt:34 box
+4 -3
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box(): String {
@@ -7,12 +8,12 @@ fun box(): String {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:4 box
// test.kt:5 box
// test.kt:6 box
// test.kt:7 box
// EXPECTATIONS JS_IR
// test.kt:4 box
// test.kt:5 box
// test.kt:5 box
// test.kt:6 box
// test.kt:6 box
// test.kt:7 box
+11 -10
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
class A {
@@ -12,16 +13,16 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:11 box
// test.kt:3 <init>
// test.kt:11 box
// test.kt:6 getProp
// test.kt:11 box
// test.kt:12 box
// test.kt:4 <init>
// test.kt:12 box
// test.kt:7 getProp
// test.kt:12 box
// test.kt:13 box
// EXPECTATIONS JS_IR
// test.kt:11 box
// test.kt:3 <init>
// test.kt:11 box
// test.kt:6 <get-prop>
// test.kt:12 box
// test.kt:12 box
// test.kt:4 <init>
// test.kt:12 box
// test.kt:7 <get-prop>
// test.kt:13 box
+7 -6
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun main(args: Array<String>) {
@@ -9,13 +10,13 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:8 box
// test.kt:4 main
// test.kt:5 main
// test.kt:9 box
// test.kt:5 main
// test.kt:6 main
// test.kt:10 box
// EXPECTATIONS JS_IR
// test.kt:8 box
// test.kt:4 main
// test.kt:9 box
// test.kt:5 main
// test.kt:9 box
// test.kt:6 main
// test.kt:10 box
+20 -19
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
val n = 3
@@ -12,28 +13,28 @@ fun foo(n :Int ) : Int {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:3 box
// test.kt:4 box
// test.kt:8 foo
// test.kt:11 foo
// test.kt:8 foo
// test.kt:11 foo
// test.kt:8 foo
// test.kt:9 foo
// test.kt:11 foo
// test.kt:11 foo
// test.kt:4 box
// test.kt:5 box
// test.kt:9 foo
// test.kt:12 foo
// test.kt:9 foo
// test.kt:12 foo
// test.kt:9 foo
// test.kt:10 foo
// test.kt:12 foo
// test.kt:12 foo
// test.kt:5 box
// test.kt:6 box
// EXPECTATIONS JS_IR
// test.kt:3 box
// test.kt:4 box
// test.kt:8 foo
// test.kt:11 foo
// test.kt:8 foo
// test.kt:11 foo
// test.kt:8 foo
// test.kt:5 box
// test.kt:9 foo
// test.kt:11 foo
// test.kt:11 foo
// test.kt:5 box
// test.kt:12 foo
// test.kt:9 foo
// test.kt:12 foo
// test.kt:9 foo
// test.kt:10 foo
// test.kt:12 foo
// test.kt:12 foo
// test.kt:6 box
+7 -6
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun ifoo(ok: String = "OK"): String {
@@ -10,11 +11,11 @@ fun box(): String {
// FORCE_STEP_INTO
// EXPECTATIONS JVM JVM_IR
// test.kt:8 box
// test.kt:3 ifoo$default (synthetic)
// test.kt:4 ifoo
// test.kt:3 ifoo$default (synthetic)
// test.kt:8 box
// test.kt:9 box
// test.kt:4 ifoo$default (synthetic)
// test.kt:5 ifoo
// test.kt:4 ifoo$default (synthetic)
// test.kt:9 box
// EXPECTATIONS JS_IR
// test.kt:8 box
// test.kt:9 box
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
@@ -16,14 +17,14 @@ fun box(): String {
// FORCE_STEP_INTO
// EXPECTATIONS JVM JVM_IR
// test.kt:13 box
// test.kt:4 box
// test.kt:14 box
// test.kt:5 box
// test.kt:14 box
// test.kt:8 ifoo2$default (synthetic)
// test.kt:9 ifoo2
// test.kt:8 ifoo2$default (synthetic)
// test.kt:14 box
// test.kt:6 box
// test.kt:15 box
// test.kt:9 ifoo2$default (synthetic)
// test.kt:10 ifoo2
// test.kt:9 ifoo2$default (synthetic)
// test.kt:15 box
// EXPECTATIONS JS_IR
// test.kt:14 box
// test.kt:15 box
+9 -8
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
inline fun alsoInline() = "OK"
@@ -28,14 +29,14 @@ fun box(): String {
// the `$i$f$alsoInline` variable life time.
// EXPECTATIONS JVM JVM_IR
// test.kt:10 box
// test.kt:5 box
// test.kt:3 box
// EXPECTATIONS JVM_IR
// test.kt:5 box
// EXPECTATIONS JVM JVM_IR
// test.kt:11 box
// test.kt:6 box
// test.kt:10 box
// test.kt:4 box
// EXPECTATIONS JVM_IR
// test.kt:6 box
// EXPECTATIONS JVM JVM_IR
// test.kt:7 box
// test.kt:11 box
// EXPECTATIONS JS_IR
// test.kt:10 box
// test.kt:11 box
+6 -5
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
@@ -13,13 +14,13 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:10 box
// test.kt:6 box
// test.kt:11 box
// test.kt:12 box
// test.kt:6 box
// test.kt:7 box
// test.kt:12 box
// test.kt:13 box
// test.kt:7 box
// test.kt:8 box
// test.kt:14 box
// EXPECTATIONS JS_IR
// test.kt:13 box
// test.kt:14 box
+21 -20
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box(){
@@ -21,29 +22,29 @@ fun fail() : String {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:4 box
// test.kt:16 box
// test.kt:5 box
// test.kt:20 fail
// test.kt:4 box
// test.kt:12 checkEquals
// test.kt:17 box
// test.kt:6 box
// test.kt:21 fail
// test.kt:5 box
// test.kt:13 checkEquals
// test.kt:7 box
// test.kt:20 fail
// test.kt:14 checkEquals
// test.kt:8 box
// test.kt:16 box
// test.kt:7 box
// test.kt:12 checkEquals
// test.kt:13 checkEquals
// test.kt:21 fail
// test.kt:9 box
// test.kt:17 box
// test.kt:8 box
// test.kt:13 checkEquals
// test.kt:14 checkEquals
// test.kt:10 box
// EXPECTATIONS JS_IR
// test.kt:4 box
// test.kt:20 fail
// test.kt:4 box
// test.kt:13 checkEquals
// test.kt:7 box
// test.kt:20 fail
// test.kt:7 box
// test.kt:13 checkEquals
// test.kt:9 box
// test.kt:5 box
// test.kt:21 fail
// test.kt:5 box
// test.kt:14 checkEquals
// test.kt:8 box
// test.kt:21 fail
// test.kt:8 box
// test.kt:14 checkEquals
// test.kt:10 box
+22 -21
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
infix fun String.execute(p: String) = this + p
@@ -19,29 +20,29 @@ fun fail() : String {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:6 box
// test.kt:14 box
// test.kt:7 box
// test.kt:18 fail
// test.kt:6 box
// test.kt:3 execute
// test.kt:6 box
// test.kt:9 box
// test.kt:18 fail
// test.kt:15 box
// test.kt:8 box
// test.kt:19 fail
// test.kt:7 box
// test.kt:4 execute
// test.kt:7 box
// test.kt:10 box
// test.kt:14 box
// test.kt:9 box
// test.kt:3 execute
// test.kt:9 box
// test.kt:19 fail
// test.kt:11 box
// test.kt:15 box
// test.kt:10 box
// test.kt:4 execute
// test.kt:10 box
// test.kt:12 box
// EXPECTATIONS JS_IR
// test.kt:6 box
// test.kt:18 fail
// test.kt:6 box
// test.kt:3 execute
// test.kt:9 box
// test.kt:18 fail
// test.kt:9 box
// test.kt:3 execute
// test.kt:11 box
// test.kt:7 box
// test.kt:19 fail
// test.kt:7 box
// test.kt:4 execute
// test.kt:10 box
// test.kt:19 fail
// test.kt:10 box
// test.kt:4 execute
// test.kt:12 box
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box(){
@@ -21,25 +22,25 @@ fun fail() : String {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:4 box
// test.kt:16 box
// test.kt:5 box
// test.kt:20 fail
// test.kt:17 box
// test.kt:6 box
// test.kt:21 fail
// test.kt:6 box
// test.kt:5 box
// test.kt:4 box
// test.kt:16 box
// test.kt:7 box
// test.kt:20 fail
// test.kt:7 box
// test.kt:17 box
// test.kt:8 box
// test.kt:21 fail
// test.kt:8 box
// test.kt:16 box
// test.kt:7 box
// test.kt:16 box
// test.kt:9 box
// test.kt:17 box
// test.kt:8 box
// test.kt:17 box
// test.kt:10 box
// EXPECTATIONS JS_IR
// test.kt:5 box
// test.kt:20 fail
// test.kt:7 box
// test.kt:20 fail
// test.kt:9 box
// test.kt:6 box
// test.kt:21 fail
// test.kt:8 box
// test.kt:21 fail
// test.kt:10 box
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// IGNORE_BACKEND: JVM
// FILE: test.kt
fun box(){
@@ -22,24 +23,24 @@ fun fail() : String {
// and the JVM_IR stepping is more correct.
// EXPECTATIONS JVM JVM_IR
// test.kt:4 box
// test.kt:12 box
// test.kt:4 box
// test.kt:5 box
// test.kt:16 fail
// test.kt:4 box
// test.kt:7 box
// test.kt:16 fail
// test.kt:7 box
// test.kt:13 box
// test.kt:5 box
// test.kt:6 box
// test.kt:17 fail
// test.kt:5 box
// test.kt:8 box
// test.kt:17 fail
// test.kt:8 box
// test.kt:12 box
// test.kt:7 box
// test.kt:9 box
// test.kt:13 box
// test.kt:8 box
// test.kt:10 box
// EXPECTATIONS JS_IR
// test.kt:12 box
// test.kt:16 fail
// test.kt:7 box
// test.kt:16 fail
// test.kt:7 box
// test.kt:9 box
// test.kt:13 box
// test.kt:17 fail
// test.kt:8 box
// test.kt:17 fail
// test.kt:8 box
// test.kt:10 box
+63 -62
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun stringSwitch(x: String) {
@@ -42,107 +43,107 @@ fun box() {
// the first `when`.
// EXPECTATIONS JVM JVM_IR
// test.kt:29 box
// test.kt:4 stringSwitch
// test.kt:5 stringSwitch
// test.kt:4 stringSwitch
// test.kt:11 stringSwitch
// test.kt:12 stringSwitch
// test.kt:11 stringSwitch
// test.kt:19 stringSwitch
// EXPECTATIONS JVM_IR
// test.kt:18 stringSwitch
// EXPECTATIONS JVM JVM_IR
// test.kt:21 stringSwitch
// test.kt:18 stringSwitch
// test.kt:26 stringSwitch
// test.kt:30 box
// test.kt:4 stringSwitch
// EXPECTATIONS JVM
// test.kt:5 stringSwitch
// EXPECTATIONS JVM JVM_IR
// test.kt:6 stringSwitch
// test.kt:4 stringSwitch
// test.kt:11 stringSwitch
// test.kt:5 stringSwitch
// test.kt:12 stringSwitch
// test.kt:13 stringSwitch
// test.kt:11 stringSwitch
// test.kt:19 stringSwitch
// test.kt:12 stringSwitch
// test.kt:20 stringSwitch
// EXPECTATIONS JVM_IR
// test.kt:18 stringSwitch
// test.kt:19 stringSwitch
// EXPECTATIONS JVM JVM_IR
// test.kt:22 stringSwitch
// test.kt:18 stringSwitch
// test.kt:26 stringSwitch
// test.kt:19 stringSwitch
// test.kt:27 stringSwitch
// test.kt:31 box
// test.kt:4 stringSwitch
// EXPECTATIONS JVM
// test.kt:5 stringSwitch
// EXPECTATIONS JVM
// test.kt:6 stringSwitch
// EXPECTATIONS JVM JVM_IR
// test.kt:7 stringSwitch
// test.kt:4 stringSwitch
// test.kt:11 stringSwitch
// test.kt:5 stringSwitch
// test.kt:12 stringSwitch
// test.kt:14 stringSwitch
// test.kt:11 stringSwitch
// test.kt:19 stringSwitch
// test.kt:12 stringSwitch
// test.kt:20 stringSwitch
// EXPECTATIONS JVM_IR
// test.kt:18 stringSwitch
// test.kt:19 stringSwitch
// EXPECTATIONS JVM JVM_IR
// test.kt:23 stringSwitch
// test.kt:18 stringSwitch
// test.kt:26 stringSwitch
// test.kt:19 stringSwitch
// test.kt:27 stringSwitch
// test.kt:32 box
// test.kt:4 stringSwitch
// EXPECTATIONS JVM
// test.kt:5 stringSwitch
// EXPECTATIONS JVM
// test.kt:6 stringSwitch
// test.kt:7 stringSwitch
// EXPECTATIONS JVM JVM_IR
// test.kt:8 stringSwitch
// test.kt:4 stringSwitch
// test.kt:11 stringSwitch
// test.kt:5 stringSwitch
// test.kt:12 stringSwitch
// test.kt:15 stringSwitch
// test.kt:11 stringSwitch
// test.kt:19 stringSwitch
// test.kt:12 stringSwitch
// test.kt:20 stringSwitch
// EXPECTATIONS JVM_IR
// test.kt:18 stringSwitch
// test.kt:19 stringSwitch
// EXPECTATIONS JVM JVM_IR
// test.kt:24 stringSwitch
// test.kt:18 stringSwitch
// test.kt:26 stringSwitch
// test.kt:19 stringSwitch
// test.kt:27 stringSwitch
// test.kt:33 box
// test.kt:5 stringSwitch
// EXPECTATIONS JVM
// test.kt:6 stringSwitch
// test.kt:7 stringSwitch
// test.kt:8 stringSwitch
// EXPECTATIONS JVM JVM_IR
// test.kt:9 stringSwitch
// test.kt:5 stringSwitch
// test.kt:12 stringSwitch
// test.kt:16 stringSwitch
// test.kt:12 stringSwitch
// test.kt:20 stringSwitch
// EXPECTATIONS JVM_IR
// test.kt:19 stringSwitch
// EXPECTATIONS JVM JVM_IR
// test.kt:25 stringSwitch
// test.kt:19 stringSwitch
// test.kt:27 stringSwitch
// test.kt:34 box
// EXPECTATIONS JS_IR
// test.kt:29 box
// test.kt:4 stringSwitch
// test.kt:5 stringSwitch
// test.kt:11 stringSwitch
// test.kt:12 stringSwitch
// test.kt:18 stringSwitch
// test.kt:21 stringSwitch
// test.kt:26 stringSwitch
// test.kt:30 box
// test.kt:4 stringSwitch
// test.kt:5 stringSwitch
// test.kt:6 stringSwitch
// test.kt:11 stringSwitch
// test.kt:12 stringSwitch
// test.kt:13 stringSwitch
// test.kt:18 stringSwitch
// test.kt:19 stringSwitch
// test.kt:22 stringSwitch
// test.kt:26 stringSwitch
// test.kt:27 stringSwitch
// test.kt:31 box
// test.kt:4 stringSwitch
// test.kt:5 stringSwitch
// test.kt:7 stringSwitch
// test.kt:11 stringSwitch
// test.kt:12 stringSwitch
// test.kt:14 stringSwitch
// test.kt:18 stringSwitch
// test.kt:19 stringSwitch
// test.kt:23 stringSwitch
// test.kt:26 stringSwitch
// test.kt:27 stringSwitch
// test.kt:32 box
// test.kt:4 stringSwitch
// test.kt:5 stringSwitch
// test.kt:8 stringSwitch
// test.kt:11 stringSwitch
// test.kt:12 stringSwitch
// test.kt:15 stringSwitch
// test.kt:18 stringSwitch
// test.kt:19 stringSwitch
// test.kt:24 stringSwitch
// test.kt:26 stringSwitch
// test.kt:27 stringSwitch
// test.kt:33 box
// test.kt:5 stringSwitch
// test.kt:9 stringSwitch
// test.kt:12 stringSwitch
// test.kt:16 stringSwitch
// test.kt:19 stringSwitch
// test.kt:25 stringSwitch
// test.kt:27 stringSwitch
// test.kt:34 box
+52 -51
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun stringSwitch(x: String) {
@@ -38,86 +39,86 @@ fun box() {
// last two whens.
// EXPECTATIONS JVM JVM_IR
// test.kt:26 box
// test.kt:4 stringSwitch
// test.kt:5 stringSwitch
// test.kt:4 stringSwitch
// test.kt:10 stringSwitch
// test.kt:11 stringSwitch
// test.kt:10 stringSwitch
// test.kt:17 stringSwitch
// EXPECTATIONS JVM_IR
// test.kt:16 stringSwitch
// EXPECTATIONS JVM JVM_IR
// test.kt:19 stringSwitch
// test.kt:16 stringSwitch
// test.kt:23 stringSwitch
// test.kt:27 box
// test.kt:4 stringSwitch
// test.kt:5 stringSwitch
// test.kt:6 stringSwitch
// test.kt:4 stringSwitch
// test.kt:10 stringSwitch
// EXPECTATIONS JVM_IR
// test.kt:5 stringSwitch
// test.kt:11 stringSwitch
// EXPECTATIONS JVM JVM_IR
// test.kt:12 stringSwitch
// test.kt:10 stringSwitch
// test.kt:17 stringSwitch
// test.kt:11 stringSwitch
// test.kt:18 stringSwitch
// EXPECTATIONS JVM_IR
// test.kt:16 stringSwitch
// test.kt:19 stringSwitch
// test.kt:17 stringSwitch
// EXPECTATIONS JVM JVM_IR
// test.kt:20 stringSwitch
// test.kt:16 stringSwitch
// test.kt:23 stringSwitch
// test.kt:17 stringSwitch
// test.kt:24 stringSwitch
// test.kt:28 box
// test.kt:4 stringSwitch
// test.kt:5 stringSwitch
// test.kt:6 stringSwitch
// test.kt:7 stringSwitch
// test.kt:4 stringSwitch
// test.kt:10 stringSwitch
// EXPECTATIONS JVM_IR
// 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:10 stringSwitch
// test.kt:17 stringSwitch
// test.kt:11 stringSwitch
// test.kt:18 stringSwitch
// EXPECTATIONS JVM_IR
// test.kt:16 stringSwitch
// test.kt:19 stringSwitch
// test.kt:17 stringSwitch
// test.kt:20 stringSwitch
// EXPECTATIONS JVM JVM_IR
// test.kt:21 stringSwitch
// test.kt:16 stringSwitch
// test.kt:23 stringSwitch
// test.kt:17 stringSwitch
// test.kt:24 stringSwitch
// test.kt:29 box
// test.kt:5 stringSwitch
// test.kt:6 stringSwitch
// test.kt:7 stringSwitch
// 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
// test.kt:30 box
// EXPECTATIONS JS_IR
// test.kt:26 box
// test.kt:4 stringSwitch
// test.kt:5 stringSwitch
// test.kt:10 stringSwitch
// test.kt:11 stringSwitch
// test.kt:16 stringSwitch
// test.kt:19 stringSwitch
// test.kt:23 stringSwitch
// test.kt:27 box
// test.kt:4 stringSwitch
// test.kt:5 stringSwitch
// test.kt:6 stringSwitch
// test.kt:10 stringSwitch
// test.kt:11 stringSwitch
// test.kt:12 stringSwitch
// test.kt:16 stringSwitch
// test.kt:17 stringSwitch
// test.kt:20 stringSwitch
// test.kt:23 stringSwitch
// test.kt:24 stringSwitch
// test.kt:28 box
// test.kt:4 stringSwitch
// test.kt:5 stringSwitch
// test.kt:7 stringSwitch
// test.kt:10 stringSwitch
// test.kt:11 stringSwitch
// test.kt:13 stringSwitch
// test.kt:16 stringSwitch
// test.kt:17 stringSwitch
// test.kt:21 stringSwitch
// test.kt:23 stringSwitch
// test.kt:24 stringSwitch
// test.kt:29 box
// test.kt:5 stringSwitch
// test.kt:8 stringSwitch
// test.kt:11 stringSwitch
// test.kt:14 stringSwitch
// test.kt:17 stringSwitch
// test.kt:22 stringSwitch
// test.kt:24 stringSwitch
// test.kt:30 box
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// WITH_STDLIB
// FILE: test.kt
suspend fun foo(block: Long.() -> String): String {
@@ -11,16 +12,16 @@ suspend fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:8 box
// test.kt:4 foo
// test.kt:9 invoke
// test.kt:4 foo
// test.kt:8 box
// test.kt:11 box
// test.kt:9 box
// test.kt:5 foo
// test.kt:10 invoke
// test.kt:5 foo
// test.kt:9 box
// test.kt:12 box
// EXPECTATIONS JS_IR
// test.kt:8 doResume
// test.kt:4 foo
// test.kt:4 foo
// test.kt:9 box$lambda
// test.kt:11 doResume
// test.kt:9 doResume
// test.kt:5 foo
// test.kt:5 foo
// test.kt:10 box$lambda
// test.kt:12 doResume
@@ -1,5 +1,6 @@
// IGNORE_BACKEND: WASM
// WITH_STDLIB
// FILE: test.kt
suspend fun foo(block: suspend Long.() -> String): String {
return 1L.block()
@@ -17,16 +18,16 @@ suspend fun box() {
// called via code in the kotlin package.
// EXPECTATIONS JVM JVM_IR
// test.kt:9 box
// test.kt:5 foo
// test.kt:9 box
// test.kt:12 box
// test.kt:10 box
// test.kt:6 foo
// test.kt:10 box
// test.kt:13 box
// EXPECTATIONS JS_IR
// test.kt:9 doResume
// test.kt:9 box$slambda
// test.kt:9 doResume
// test.kt:6 foo
// test.kt:5 foo
// test.kt:10 doResume
// test.kt:12 doResume
// test.kt:10 box$slambda
// test.kt:10 doResume
// test.kt:7 foo
// test.kt:6 foo
// test.kt:11 doResume
// test.kt:13 doResume
+12 -11
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
val a = 1
@@ -15,25 +16,25 @@ fun throwIfLess(a: Int, b: Int) {
throw IllegalStateException()
}
// EXPECTATIONS JVM JVM_IR
// test.kt:3 box
// test.kt:4 box
// test.kt:5 box
// test.kt:6 box
// test.kt:14 throwIfLess
// test.kt:15 throwIfLess
// test.kt:7 box
// test.kt:8 box
// test.kt:14 throwIfLess
// test.kt:15 throwIfLess
// test.kt:16 throwIfLess
// test.kt:8 box
// test.kt:9 box
// test.kt:15 throwIfLess
// test.kt:16 throwIfLess
// EXPECTATIONS JS_IR
// test.kt:3 box
// test.kt:4 box
// test.kt:6 box
// test.kt:14 throwIfLess
// test.kt:5 box
// test.kt:7 box
// test.kt:15 throwIfLess
// test.kt:7 box
// test.kt:7 box
// test.kt:16 throwIfLess
// test.kt:8 box
// test.kt:14 throwIfLess
// test.kt:8 box
// test.kt:9 box
// test.kt:15 throwIfLess
// test.kt:16 throwIfLess
+7 -6
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun foo() = prop
@@ -9,12 +10,12 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:8 box
// test.kt:3 foo
// test.kt:8 box
// test.kt:9 box
// test.kt:4 foo
// test.kt:9 box
// test.kt:10 box
// EXPECTATIONS JS_IR
// test.kt:8 box
// test.kt:3 foo
// test.kt:9 box
// test.kt:9 box
// test.kt:4 foo
// test.kt:10 box
+29 -28
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
interface A {
@@ -20,39 +21,39 @@ fun box() {
// on A$DefaultImpls) have the line number of the class declaration.
// EXPECTATIONS JVM JVM_IR
// test.kt:14 box
// test.kt:14 <init>
// test.kt:14 box
// test.kt:14 bar
// test.kt:7 bar
// test.kt:14 foo
// test.kt:4 foo
// test.kt:14 foo
// test.kt:7 bar
// test.kt:14 bar
// test.kt:14 box
// test.kt:15 box
// test.kt:11 <init>
// test.kt:15 <init>
// test.kt:15 box
// test.kt:11 bar
// test.kt:7 bar
// test.kt:11 foo
// test.kt:4 foo
// test.kt:11 foo
// test.kt:7 bar
// test.kt:11 bar
// test.kt:15 bar
// test.kt:8 bar
// test.kt:15 foo
// test.kt:5 foo
// test.kt:15 foo
// test.kt:8 bar
// test.kt:15 bar
// test.kt:15 box
// test.kt:16 box
// test.kt:12 <init>
// test.kt:16 box
// test.kt:12 bar
// test.kt:8 bar
// test.kt:12 foo
// test.kt:5 foo
// test.kt:12 foo
// test.kt:8 bar
// test.kt:12 bar
// test.kt:16 box
// test.kt:17 box
// EXPECTATIONS JS_IR
// test.kt:14 box
// test.kt:14 <init>
// test.kt:14 box
// test.kt:7 bar
// test.kt:4 foo
// test.kt:15 box
// test.kt:11 <init>
// test.kt:15 <init>
// test.kt:15 box
// test.kt:7 bar
// test.kt:4 foo
// test.kt:16 box
// test.kt:8 bar
// test.kt:5 foo
// test.kt:16 box
// test.kt:12 <init>
// test.kt:16 box
// test.kt:8 bar
// test.kt:5 foo
// test.kt:17 box
+16 -15
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun foo(shouldThrow: Boolean) {
@@ -15,28 +16,28 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:13 box
// test.kt:4 foo
// test.kt:5 foo
// test.kt:9 foo
// test.kt:10 foo
// test.kt:14 box
// test.kt:4 foo
// test.kt:5 foo
// test.kt:6 foo
// test.kt:10 foo
// test.kt:11 foo
// test.kt:15 box
// test.kt:5 foo
// test.kt:6 foo
// test.kt:7 foo
// test.kt:9 foo
// test.kt:8 foo
// test.kt:10 foo
// test.kt:15 box
// test.kt:11 foo
// test.kt:16 box
// EXPECTATIONS JS_IR
// test.kt:13 box
// test.kt:5 foo
// test.kt:10 foo
// test.kt:14 box
// test.kt:5 foo
// test.kt:5 foo
// test.kt:6 foo
// test.kt:6 foo
// test.kt:10 foo
// test.kt:11 foo
// test.kt:15 box
// test.kt:6 foo
// test.kt:6 foo
// test.kt:7 foo
// test.kt:7 foo
// test.kt:11 foo
// test.kt:16 box
+94 -93
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun foo() {
@@ -48,108 +49,108 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:41 box
// test.kt:4 foo
// test.kt:5 foo
// test.kt:28 mightThrow
// test.kt:29 mightThrow
// test.kt:5 foo
// test.kt:10 foo
// test.kt:11 foo
// test.kt:32 mightThrow2
// test.kt:33 mightThrow2
// test.kt:11 foo
// test.kt:10 foo
// test.kt:16 foo
// test.kt:17 foo
// test.kt:36 mightThrow3
// test.kt:37 mightThrow3
// test.kt:17 foo
// test.kt:16 foo
// test.kt:21 foo
// test.kt:42 box
// test.kt:43 box
// test.kt:4 foo
// test.kt:5 foo
// test.kt:28 mightThrow
// test.kt:29 mightThrow
// test.kt:5 foo
// test.kt:10 foo
// test.kt:11 foo
// test.kt:32 mightThrow2
// test.kt:33 mightThrow2
// test.kt:11 foo
// test.kt:10 foo
// test.kt:16 foo
// test.kt:17 foo
// test.kt:36 mightThrow3
// test.kt:18 foo
// test.kt:19 foo
// test.kt:44 box
// test.kt:45 box
// test.kt:4 foo
// test.kt:5 foo
// test.kt:28 mightThrow
// test.kt:29 mightThrow
// test.kt:5 foo
// test.kt:10 foo
// test.kt:11 foo
// test.kt:32 mightThrow2
// test.kt:12 foo
// test.kt:13 foo
// test.kt:46 box
// test.kt:47 box
// test.kt:4 foo
// test.kt:5 foo
// test.kt:28 mightThrow
// test.kt:6 foo
// test.kt:7 foo
// test.kt:29 mightThrow
// test.kt:30 mightThrow
// test.kt:6 foo
// test.kt:11 foo
// test.kt:12 foo
// test.kt:33 mightThrow2
// test.kt:34 mightThrow2
// test.kt:12 foo
// test.kt:11 foo
// test.kt:17 foo
// test.kt:18 foo
// test.kt:37 mightThrow3
// test.kt:38 mightThrow3
// test.kt:18 foo
// test.kt:17 foo
// test.kt:22 foo
// test.kt:43 box
// test.kt:44 box
// test.kt:5 foo
// test.kt:6 foo
// test.kt:29 mightThrow
// test.kt:30 mightThrow
// test.kt:6 foo
// test.kt:11 foo
// test.kt:12 foo
// test.kt:33 mightThrow2
// test.kt:34 mightThrow2
// test.kt:12 foo
// test.kt:11 foo
// test.kt:17 foo
// test.kt:18 foo
// test.kt:37 mightThrow3
// test.kt:19 foo
// test.kt:20 foo
// test.kt:45 box
// test.kt:46 box
// test.kt:5 foo
// test.kt:6 foo
// test.kt:29 mightThrow
// test.kt:30 mightThrow
// test.kt:6 foo
// test.kt:11 foo
// test.kt:12 foo
// test.kt:33 mightThrow2
// test.kt:13 foo
// test.kt:14 foo
// test.kt:47 box
// test.kt:48 box
// test.kt:5 foo
// test.kt:6 foo
// test.kt:29 mightThrow
// test.kt:7 foo
// test.kt:8 foo
// test.kt:49 box
// EXPECTATIONS JS_IR
// test.kt:41 box
// test.kt:5 foo
// test.kt:28 mightThrow
// test.kt:29 mightThrow
// test.kt:11 foo
// test.kt:32 mightThrow2
// test.kt:33 mightThrow2
// test.kt:10 foo
// test.kt:17 foo
// test.kt:36 mightThrow3
// test.kt:37 mightThrow3
// test.kt:16 foo
// test.kt:21 foo
// test.kt:42 box
// test.kt:43 box
// test.kt:5 foo
// test.kt:28 mightThrow
// test.kt:6 foo
// test.kt:29 mightThrow
// test.kt:11 foo
// test.kt:32 mightThrow2
// test.kt:33 mightThrow2
// test.kt:10 foo
// test.kt:17 foo
// test.kt:36 mightThrow3
// test.kt:36 mightThrow3
// test.kt:18 foo
// test.kt:19 foo
// test.kt:44 box
// test.kt:45 box
// test.kt:5 foo
// test.kt:28 mightThrow
// test.kt:29 mightThrow
// test.kt:11 foo
// test.kt:32 mightThrow2
// test.kt:32 mightThrow2
// test.kt:30 mightThrow
// test.kt:12 foo
// test.kt:13 foo
// test.kt:33 mightThrow2
// test.kt:34 mightThrow2
// test.kt:11 foo
// test.kt:18 foo
// test.kt:37 mightThrow3
// test.kt:38 mightThrow3
// test.kt:17 foo
// test.kt:22 foo
// test.kt:43 box
// test.kt:44 box
// test.kt:6 foo
// test.kt:29 mightThrow
// test.kt:30 mightThrow
// test.kt:12 foo
// test.kt:33 mightThrow2
// test.kt:34 mightThrow2
// test.kt:11 foo
// test.kt:18 foo
// test.kt:37 mightThrow3
// test.kt:37 mightThrow3
// test.kt:19 foo
// test.kt:20 foo
// test.kt:45 box
// test.kt:46 box
// test.kt:6 foo
// test.kt:29 mightThrow
// test.kt:30 mightThrow
// test.kt:12 foo
// test.kt:33 mightThrow2
// test.kt:33 mightThrow2
// test.kt:13 foo
// test.kt:14 foo
// test.kt:47 box
// test.kt:5 foo
// test.kt:28 mightThrow
// test.kt:28 mightThrow
// test.kt:6 foo
// test.kt:6 foo
// test.kt:7 foo
// test.kt:48 box
// test.kt:6 foo
// test.kt:29 mightThrow
// test.kt:29 mightThrow
// test.kt:7 foo
// test.kt:7 foo
// test.kt:8 foo
// test.kt:49 box
+72 -71
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun foo() {
@@ -38,93 +39,93 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:33 box
// test.kt:4 foo
// test.kt:5 foo
// test.kt:25 mightThrow
// test.kt:26 mightThrow
// test.kt:9 foo
// test.kt:10 foo
// test.kt:12 foo
// test.kt:13 foo
// test.kt:29 mightThrow2
// test.kt:30 mightThrow2
// test.kt:13 foo
// test.kt:17 foo
// test.kt:18 foo
// test.kt:12 foo
// test.kt:19 foo
// test.kt:34 box
// test.kt:35 box
// test.kt:4 foo
// test.kt:5 foo
// test.kt:25 mightThrow
// test.kt:26 mightThrow
// test.kt:9 foo
// test.kt:10 foo
// test.kt:12 foo
// test.kt:13 foo
// test.kt:29 mightThrow2
// test.kt:14 foo
// test.kt:15 foo
// test.kt:17 foo
// test.kt:18 foo
// test.kt:12 foo
// test.kt:19 foo
// test.kt:36 box
// test.kt:37 box
// test.kt:4 foo
// test.kt:5 foo
// test.kt:25 mightThrow
// test.kt:6 foo
// test.kt:7 foo
// test.kt:9 foo
// test.kt:26 mightThrow
// test.kt:27 mightThrow
// test.kt:10 foo
// test.kt:12 foo
// test.kt:11 foo
// test.kt:13 foo
// test.kt:29 mightThrow2
// test.kt:14 foo
// test.kt:15 foo
// test.kt:17 foo
// test.kt:30 mightThrow2
// test.kt:31 mightThrow2
// test.kt:14 foo
// test.kt:18 foo
// test.kt:12 foo
// test.kt:19 foo
// test.kt:13 foo
// test.kt:20 foo
// test.kt:35 box
// test.kt:36 box
// test.kt:5 foo
// test.kt:6 foo
// test.kt:26 mightThrow
// test.kt:27 mightThrow
// test.kt:10 foo
// test.kt:11 foo
// test.kt:13 foo
// test.kt:14 foo
// test.kt:30 mightThrow2
// test.kt:15 foo
// test.kt:16 foo
// test.kt:18 foo
// test.kt:19 foo
// test.kt:13 foo
// test.kt:20 foo
// test.kt:37 box
// test.kt:38 box
// test.kt:5 foo
// test.kt:6 foo
// test.kt:26 mightThrow
// test.kt:7 foo
// test.kt:8 foo
// test.kt:10 foo
// test.kt:11 foo
// test.kt:13 foo
// test.kt:14 foo
// test.kt:30 mightThrow2
// test.kt:15 foo
// test.kt:16 foo
// test.kt:18 foo
// test.kt:19 foo
// test.kt:13 foo
// test.kt:20 foo
// test.kt:39 box
// EXPECTATIONS JS_IR
// test.kt:33 box
// test.kt:5 foo
// test.kt:25 mightThrow
// test.kt:26 mightThrow
// test.kt:13 foo
// test.kt:29 mightThrow2
// test.kt:30 mightThrow2
// test.kt:12 foo
// test.kt:19 foo
// test.kt:34 box
// test.kt:35 box
// test.kt:5 foo
// test.kt:25 mightThrow
// test.kt:6 foo
// test.kt:26 mightThrow
// test.kt:13 foo
// test.kt:29 mightThrow2
// test.kt:29 mightThrow2
// test.kt:27 mightThrow
// test.kt:14 foo
// test.kt:15 foo
// test.kt:12 foo
// test.kt:19 foo
// test.kt:30 mightThrow2
// test.kt:31 mightThrow2
// test.kt:13 foo
// test.kt:20 foo
// test.kt:35 box
// test.kt:36 box
// test.kt:37 box
// test.kt:5 foo
// test.kt:25 mightThrow
// test.kt:25 mightThrow
// test.kt:6 foo
// test.kt:6 foo
// test.kt:13 foo
// test.kt:29 mightThrow2
// test.kt:29 mightThrow2
// test.kt:26 mightThrow
// test.kt:27 mightThrow
// test.kt:14 foo
// test.kt:30 mightThrow2
// test.kt:30 mightThrow2
// test.kt:15 foo
// test.kt:12 foo
// test.kt:19 foo
// test.kt:16 foo
// test.kt:13 foo
// test.kt:20 foo
// test.kt:37 box
// test.kt:38 box
// test.kt:6 foo
// test.kt:26 mightThrow
// test.kt:26 mightThrow
// test.kt:7 foo
// test.kt:7 foo
// test.kt:14 foo
// test.kt:30 mightThrow2
// test.kt:30 mightThrow2
// test.kt:15 foo
// test.kt:16 foo
// test.kt:13 foo
// test.kt:20 foo
// test.kt:39 box
+40 -39
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun foo() {
@@ -40,56 +41,56 @@ fun box() {
// try-finally where the value is discarded which seems good.
// EXPECTATIONS JVM JVM_IR
// test.kt:29 box
// test.kt:4 foo
// test.kt:30 box
// test.kt:5 foo
// test.kt:21 mightThrow
// test.kt:6 foo
// test.kt:22 mightThrow
// test.kt:7 foo
// test.kt:23 mightThrow
// test.kt:8 foo
// test.kt:10 foo
// test.kt:9 foo
// test.kt:11 foo
// test.kt:25 mightThrow2
// test.kt:12 foo
// test.kt:26 mightThrow2
// test.kt:27 mightThrow2
// EXPECTATIONS JVM
// test.kt:12 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:14 foo
// test.kt:15 foo
// test.kt:11 foo
// test.kt:16 foo
// test.kt:31 box
// test.kt:32 box
// test.kt:5 foo
// test.kt:6 foo
// test.kt:22 mightThrow
// test.kt:23 mightThrow
// test.kt:8 foo
// test.kt:9 foo
// test.kt:11 foo
// test.kt:12 foo
// test.kt:26 mightThrow2
// EXPECTATIONS JVM
// test.kt:11 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:13 foo
// test.kt:14 foo
// test.kt:10 foo
// test.kt:15 foo
// test.kt:30 box
// test.kt:31 box
// test.kt:4 foo
// test.kt:5 foo
// test.kt:21 mightThrow
// test.kt:22 mightThrow
// test.kt:7 foo
// test.kt:8 foo
// test.kt:10 foo
// test.kt:11 foo
// test.kt:25 mightThrow2
// EXPECTATIONS JVM
// test.kt:14 foo
// test.kt:10 foo
// EXPECTATIONS JVM_IR
// test.kt:13 foo
// test.kt:14 foo
// EXPECTATIONS JS_IR
// test.kt:29 box
// test.kt:5 foo
// test.kt:21 mightThrow
// test.kt:22 mightThrow
// test.kt:11 foo
// test.kt:25 mightThrow2
// test.kt:26 mightThrow2
// test.kt:10 foo
// test.kt:15 foo
// test.kt:30 box
// test.kt:31 box
// test.kt:5 foo
// test.kt:21 mightThrow
// test.kt:6 foo
// test.kt:22 mightThrow
// test.kt:23 mightThrow
// test.kt:12 foo
// test.kt:26 mightThrow2
// test.kt:27 mightThrow2
// test.kt:11 foo
// test.kt:25 mightThrow2
// test.kt:25 mightThrow2
// test.kt:16 foo
// test.kt:31 box
// test.kt:32 box
// test.kt:6 foo
// test.kt:22 mightThrow
// test.kt:23 mightThrow
// test.kt:12 foo
// test.kt:26 mightThrow2
// test.kt:26 mightThrow2
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
@@ -17,18 +18,18 @@ fun box() {
// The JVM backend does generate these line numbers as well.
// EXPECTATIONS JVM JVM_IR
// test.kt:4 box
// test.kt:5 box
// test.kt:6 box
// test.kt:7 box
// test.kt:8 box
// test.kt:9 box
// test.kt:10 box
// test.kt:12 box
// test.kt:11 box
// test.kt:13 box
// EXPECTATIONS JS_IR
// test.kt:7 box
// test.kt:8 box
// test.kt:9 box
// test.kt:10 box
// test.kt:12 box
// test.kt:11 box
// test.kt:13 box
+6 -5
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box(): String {
@@ -9,13 +10,13 @@ fun box(): String {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:4 box
// test.kt:5 box
// fake.kt:1 box
// test.kt:4 box
// test.kt:5 box
// test.kt:6 box
// test.kt:5 box
// test.kt:8 box
// test.kt:7 box
// test.kt:6 box
// test.kt:9 box
// EXPECTATIONS JS_IR
// test.kt:8 box
// test.kt:9 box
+133 -132
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun foo(x: Int) {
@@ -24,139 +25,139 @@ fun box() {
// JVM_IR stepping behavior here is the same as for `whenSubject.kt`.
// EXPECTATIONS JVM JVM_IR
// test.kt:18 box
// test.kt:4 foo
// test.kt:5 foo
// test.kt:4 foo
// EXPECTATIONS JVM
// test.kt:5 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:6 foo
// test.kt:4 foo
// EXPECTATIONS JVM
// test.kt:5 foo
// test.kt:6 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:7 foo
// test.kt:10 foo
// EXPECTATIONS JVM
// test.kt:11 foo
// test.kt:12 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:13 foo
// test.kt:10 foo
// test.kt:15 foo
// test.kt:6 foo
// test.kt:10 foo
// EXPECTATIONS JVM
// test.kt:11 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:12 foo
// test.kt:4 foo
// EXPECTATIONS JVM
// test.kt:5 foo
// test.kt:6 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:7 foo
// test.kt:10 foo
// EXPECTATIONS JVM
// test.kt:11 foo
// test.kt:12 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:13 foo
// test.kt:10 foo
// test.kt:15 foo
// test.kt:12 foo
// test.kt:10 foo
// test.kt:15 foo
// test.kt:5 foo
// test.kt:10 foo
// test.kt:11 foo
// test.kt:4 foo
// EXPECTATIONS JVM
// test.kt:5 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:6 foo
// test.kt:4 foo
// EXPECTATIONS JVM
// test.kt:5 foo
// test.kt:6 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:7 foo
// test.kt:10 foo
// EXPECTATIONS JVM
// test.kt:11 foo
// test.kt:12 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:13 foo
// test.kt:10 foo
// test.kt:15 foo
// test.kt:6 foo
// test.kt:10 foo
// EXPECTATIONS JVM
// test.kt:11 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:12 foo
// test.kt:4 foo
// EXPECTATIONS JVM
// test.kt:5 foo
// test.kt:6 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:7 foo
// test.kt:10 foo
// EXPECTATIONS JVM
// test.kt:11 foo
// test.kt:12 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:13 foo
// test.kt:10 foo
// test.kt:15 foo
// test.kt:12 foo
// test.kt:10 foo
// test.kt:15 foo
// test.kt:11 foo
// test.kt:10 foo
// test.kt:15 foo
// test.kt:19 box
// test.kt:5 foo
// test.kt:6 foo
// test.kt:5 foo
// EXPECTATIONS JVM
// test.kt:6 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:7 foo
// test.kt:5 foo
// EXPECTATIONS JVM
// test.kt:6 foo
// test.kt:7 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:8 foo
// test.kt:11 foo
// EXPECTATIONS JVM
// test.kt:12 foo
// test.kt:13 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:14 foo
// test.kt:11 foo
// test.kt:16 foo
// test.kt:7 foo
// test.kt:11 foo
// EXPECTATIONS JVM
// test.kt:12 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:13 foo
// test.kt:5 foo
// EXPECTATIONS JVM
// test.kt:6 foo
// test.kt:7 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:8 foo
// test.kt:11 foo
// EXPECTATIONS JVM
// test.kt:12 foo
// test.kt:13 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:14 foo
// test.kt:11 foo
// test.kt:16 foo
// test.kt:13 foo
// test.kt:11 foo
// test.kt:16 foo
// test.kt:6 foo
// test.kt:11 foo
// test.kt:12 foo
// test.kt:5 foo
// EXPECTATIONS JVM
// test.kt:6 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:7 foo
// test.kt:5 foo
// EXPECTATIONS JVM
// test.kt:6 foo
// test.kt:7 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:8 foo
// test.kt:11 foo
// EXPECTATIONS JVM
// test.kt:12 foo
// test.kt:13 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:14 foo
// test.kt:11 foo
// test.kt:16 foo
// test.kt:7 foo
// test.kt:11 foo
// EXPECTATIONS JVM
// test.kt:12 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:13 foo
// test.kt:5 foo
// EXPECTATIONS JVM
// test.kt:6 foo
// test.kt:7 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:8 foo
// test.kt:11 foo
// EXPECTATIONS JVM
// test.kt:12 foo
// test.kt:13 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:14 foo
// test.kt:11 foo
// test.kt:16 foo
// test.kt:13 foo
// test.kt:11 foo
// test.kt:16 foo
// test.kt:12 foo
// test.kt:11 foo
// test.kt:16 foo
// test.kt:20 box
// EXPECTATIONS JS_IR
// test.kt:18 box
// test.kt:4 foo
// test.kt:5 foo
// test.kt:4 foo
// test.kt:6 foo
// test.kt:4 foo
// test.kt:10 foo
// test.kt:13 foo
// test.kt:10 foo
// test.kt:15 foo
// test.kt:10 foo
// test.kt:12 foo
// test.kt:4 foo
// test.kt:10 foo
// test.kt:13 foo
// test.kt:10 foo
// test.kt:15 foo
// test.kt:10 foo
// test.kt:15 foo
// test.kt:10 foo
// test.kt:11 foo
// test.kt:4 foo
// test.kt:6 foo
// test.kt:4 foo
// test.kt:10 foo
// test.kt:13 foo
// test.kt:10 foo
// test.kt:15 foo
// test.kt:10 foo
// test.kt:12 foo
// test.kt:4 foo
// test.kt:10 foo
// test.kt:13 foo
// test.kt:10 foo
// test.kt:15 foo
// test.kt:10 foo
// test.kt:15 foo
// test.kt:10 foo
// test.kt:15 foo
// test.kt:19 box
// test.kt:5 foo
// test.kt:6 foo
// test.kt:5 foo
// test.kt:7 foo
// test.kt:5 foo
// test.kt:11 foo
// test.kt:14 foo
// test.kt:11 foo
// test.kt:16 foo
// test.kt:11 foo
// test.kt:13 foo
// test.kt:5 foo
// test.kt:11 foo
// test.kt:14 foo
// test.kt:11 foo
// test.kt:16 foo
// test.kt:11 foo
// test.kt:16 foo
// test.kt:11 foo
// test.kt:12 foo
// test.kt:5 foo
// test.kt:7 foo
// test.kt:5 foo
// test.kt:11 foo
// test.kt:14 foo
// test.kt:11 foo
// test.kt:16 foo
// test.kt:11 foo
// test.kt:13 foo
// test.kt:5 foo
// test.kt:11 foo
// test.kt:14 foo
// test.kt:11 foo
// test.kt:16 foo
// test.kt:11 foo
// test.kt:16 foo
// test.kt:11 foo
// test.kt:16 foo
// test.kt:20 box
+25 -24
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun foo(x: Int) {
@@ -22,43 +23,43 @@ fun box() {
// right case without stepping through evaluation of each condition.
// EXPECTATIONS JVM JVM_IR
// test.kt:16 box
// test.kt:5 foo
// test.kt:6 foo
// test.kt:4 foo
// test.kt:11 foo
// test.kt:13 foo
// test.kt:17 box
// test.kt:5 foo
// EXPECTATIONS JVM
// test.kt:6 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:7 foo
// test.kt:4 foo
// test.kt:13 foo
// test.kt:18 box
// test.kt:5 foo
// EXPECTATIONS JVM
// test.kt:12 foo
// test.kt:14 foo
// test.kt:18 box
// test.kt:6 foo
// EXPECTATIONS JVM
// test.kt:7 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:8 foo
// test.kt:4 foo
// test.kt:10 foo
// test.kt:13 foo
// test.kt:5 foo
// test.kt:14 foo
// test.kt:19 box
// test.kt:6 foo
// EXPECTATIONS JVM
// test.kt:7 foo
// test.kt:8 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:9 foo
// test.kt:5 foo
// test.kt:11 foo
// test.kt:14 foo
// test.kt:20 box
// EXPECTATIONS JS_IR
// test.kt:16 box
// test.kt:5 foo
// test.kt:6 foo
// test.kt:13 foo
// test.kt:17 box
// test.kt:5 foo
// test.kt:6 foo
// test.kt:7 foo
// test.kt:13 foo
// test.kt:14 foo
// test.kt:18 box
// test.kt:5 foo
// test.kt:6 foo
// test.kt:8 foo
// test.kt:13 foo
// test.kt:14 foo
// test.kt:19 box
// test.kt:6 foo
// test.kt:9 foo
// test.kt:14 foo
// test.kt:20 box
+8 -7
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
@@ -14,14 +15,14 @@ fun box() {
// JVM_IR and JVM backends have different heuristics for when to use a switch.
// EXPECTATIONS JVM JVM_IR
// test.kt:4 box
// EXPECTATIONS JVM_IR
// test.kt:5 box
// test.kt:7 box
// EXPECTATIONS JVM_IR
// test.kt:6 box
// test.kt:8 box
// EXPECTATIONS JVM JVM_IR
// test.kt:10 box
// test.kt:12 box
// test.kt:11 box
// test.kt:13 box
// EXPECTATIONS JS_IR
// test.kt:4 box
// test.kt:12 box
// test.kt:5 box
// test.kt:13 box
+7 -6
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
@@ -16,14 +17,14 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:4 box
// test.kt:5 box
// test.kt:6 box
// test.kt:9 box
// test.kt:13 box
// test.kt:16 box
// test.kt:7 box
// test.kt:10 box
// test.kt:14 box
// test.kt:17 box
// EXPECTATIONS JS_IR
// test.kt:4 box
// test.kt:5 box
// test.kt:16 box
// test.kt:6 box
// test.kt:17 box
+17 -16
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun foo(x: Any) {
@@ -18,30 +19,30 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:15 box
// test.kt:4 foo
// test.kt:16 box
// test.kt:5 foo
// test.kt:6 foo
// test.kt:12 foo
// test.kt:16 box
// test.kt:4 foo
// test.kt:5 foo
// test.kt:7 foo
// test.kt:8 foo
// test.kt:12 foo
// test.kt:13 foo
// test.kt:17 box
// test.kt:4 foo
// test.kt:5 foo
// test.kt:7 foo
// test.kt:10 foo
// test.kt:12 foo
// test.kt:6 foo
// test.kt:8 foo
// test.kt:9 foo
// test.kt:13 foo
// test.kt:18 box
// test.kt:5 foo
// test.kt:6 foo
// test.kt:8 foo
// test.kt:11 foo
// test.kt:13 foo
// test.kt:19 box
// EXPECTATIONS JS_IR
// test.kt:15 box
// test.kt:12 foo
// test.kt:16 box
// test.kt:12 foo
// test.kt:13 foo
// test.kt:17 box
// test.kt:12 foo
// test.kt:13 foo
// test.kt:18 box
// test.kt:13 foo
// test.kt:19 box
+50 -49
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun foo(x: Int): Int {
@@ -34,68 +35,68 @@ fun box() {
// JVM_IR stepping behavior here is the same as for `whenMultiLineSubject.kt`.
// EXPECTATIONS JVM JVM_IR
// test.kt:26 box
// test.kt:4 foo
// EXPECTATIONS JVM
// test.kt:5 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:6 foo
// test.kt:13 foo
// EXPECTATIONS JVM
// test.kt:14 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:15 foo
// test.kt:13 foo
// test.kt:22 foo
// test.kt:26 box
// test.kt:27 box
// test.kt:4 foo
// EXPECTATIONS JVM
// test.kt:5 foo
// test.kt:7 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:8 foo
// test.kt:13 foo
// EXPECTATIONS JVM
// test.kt:14 foo
// test.kt:16 foo
// test.kt:6 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:17 foo
// test.kt:13 foo
// test.kt:22 foo
// test.kt:7 foo
// test.kt:14 foo
// EXPECTATIONS JVM
// test.kt:15 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:16 foo
// test.kt:14 foo
// test.kt:23 foo
// test.kt:27 box
// test.kt:28 box
// test.kt:4 foo
// EXPECTATIONS JVM
// test.kt:5 foo
// test.kt:7 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:10 foo
// test.kt:13 foo
// EXPECTATIONS JVM
// test.kt:14 foo
// test.kt:16 foo
// test.kt:6 foo
// test.kt:8 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:19 foo
// test.kt:13 foo
// test.kt:22 foo
// test.kt:9 foo
// test.kt:14 foo
// EXPECTATIONS JVM
// test.kt:15 foo
// test.kt:17 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:18 foo
// test.kt:14 foo
// test.kt:23 foo
// test.kt:28 box
// test.kt:29 box
// test.kt:5 foo
// EXPECTATIONS JVM
// test.kt:6 foo
// test.kt:8 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:11 foo
// test.kt:14 foo
// EXPECTATIONS JVM
// test.kt:15 foo
// test.kt:17 foo
// EXPECTATIONS JVM JVM_IR
// test.kt:20 foo
// test.kt:14 foo
// test.kt:23 foo
// test.kt:29 box
// test.kt:30 box
// EXPECTATIONS JS_IR
// test.kt:26 box
// test.kt:4 foo
// test.kt:13 foo
// test.kt:15 foo
// test.kt:22 foo
// test.kt:27 box
// test.kt:4 foo
// test.kt:13 foo
// test.kt:17 foo
// test.kt:22 foo
// test.kt:5 foo
// test.kt:14 foo
// test.kt:16 foo
// test.kt:23 foo
// test.kt:28 box
// test.kt:4 foo
// test.kt:13 foo
// test.kt:19 foo
// test.kt:22 foo
// test.kt:5 foo
// test.kt:14 foo
// test.kt:18 foo
// test.kt:23 foo
// test.kt:29 box
// test.kt:5 foo
// test.kt:14 foo
// test.kt:20 foo
// test.kt:23 foo
// test.kt:30 box
+34 -33
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun foo(x: Int): Int {
@@ -29,46 +30,46 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:26 box
// test.kt:4 foo
// test.kt:6 foo
// test.kt:13 foo
// test.kt:15 foo
// test.kt:13 foo
// test.kt:22 foo
// test.kt:26 box
// test.kt:27 box
// test.kt:4 foo
// test.kt:8 foo
// test.kt:13 foo
// test.kt:17 foo
// test.kt:13 foo
// test.kt:22 foo
// test.kt:5 foo
// test.kt:7 foo
// test.kt:14 foo
// test.kt:16 foo
// test.kt:14 foo
// test.kt:23 foo
// test.kt:27 box
// test.kt:28 box
// test.kt:4 foo
// test.kt:10 foo
// test.kt:13 foo
// test.kt:19 foo
// test.kt:13 foo
// test.kt:22 foo
// test.kt:5 foo
// test.kt:9 foo
// test.kt:14 foo
// test.kt:18 foo
// test.kt:14 foo
// test.kt:23 foo
// test.kt:28 box
// test.kt:29 box
// test.kt:5 foo
// test.kt:11 foo
// test.kt:14 foo
// test.kt:20 foo
// test.kt:14 foo
// test.kt:23 foo
// test.kt:29 box
// test.kt:30 box
// EXPECTATIONS JS_IR
// test.kt:26 box
// test.kt:4 foo
// test.kt:13 foo
// test.kt:15 foo
// test.kt:22 foo
// test.kt:27 box
// test.kt:4 foo
// test.kt:13 foo
// test.kt:17 foo
// test.kt:22 foo
// test.kt:5 foo
// test.kt:14 foo
// test.kt:16 foo
// test.kt:23 foo
// test.kt:28 box
// test.kt:4 foo
// test.kt:13 foo
// test.kt:19 foo
// test.kt:22 foo
// test.kt:5 foo
// test.kt:14 foo
// test.kt:18 foo
// test.kt:23 foo
// test.kt:29 box
// test.kt:5 foo
// test.kt:14 foo
// test.kt:20 foo
// test.kt:23 foo
// test.kt:30 box

Some files were not shown because too many files have changed in this diff Show More