Update test data
#KT-28309
This commit is contained in:
+2
-1
@@ -12,7 +12,8 @@ fun foo() : String {
|
||||
return foobar(1, 2L, bar(3, 4L, 5.toByte(), "6"), 7.toByte())
|
||||
}
|
||||
|
||||
// 9 ISTORE
|
||||
// fake inline variables occupy 7 ISTOREs.
|
||||
// 16 ISTORE
|
||||
// 13 ILOAD
|
||||
// 2 ASTORE
|
||||
// 8 ALOAD
|
||||
|
||||
+2
-1
@@ -14,7 +14,8 @@ fun test() {
|
||||
val result = foobar(if (1 == 1) true else bar(), foo(), "OK")
|
||||
}
|
||||
|
||||
// 7 ISTORE
|
||||
// fake inline variables occupy 7 ISTOREs.
|
||||
// 14 ISTORE
|
||||
// 8 ILOAD
|
||||
// 2 ASTORE
|
||||
// 7 ALOAD
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
inline fun bar(x: Int) : Int {
|
||||
return x
|
||||
@@ -9,6 +10,7 @@ fun foo() : Int {
|
||||
return foobar(1, bar(2), 3)
|
||||
}
|
||||
|
||||
// 3 ISTORE
|
||||
// fake inline variables occupy 2 ISTOREs.
|
||||
// 5 ISTORE
|
||||
// 7 ILOAD
|
||||
// 0 InlineMarker
|
||||
|
||||
Reference in New Issue
Block a user