Update bytecode text tests in JVM_IR

This commit is contained in:
Dmitry Petrov
2020-02-12 14:53:05 +03:00
parent db91b520a5
commit 59cdf3c52e
26 changed files with 87 additions and 58 deletions
@@ -1,12 +0,0 @@
// IGNORE_BACKEND: JVM_IR
class A {
fun test(x: String?, a: String?, b: String?){}
fun box(): String {
test(x = "x", b = "K", a = "O")
return "OK"
}
}
// Test argument reordering when call site argument order differs from declaration one
// 4 LOAD
// 2 STORE
@@ -1,15 +0,0 @@
// IGNORE_BACKEND: JVM_IR
class A {
fun test(x: String? = "x", a: String?, b: String?, y: String? = "y") {
}
fun box(): String {
test(b = "K", a = "O")
return "OK"
}
}
// Test argument reordering when call site argument order differs from declaration one
// 12 LOAD
// 5 STORE