[JVM IR] Fix performance issue caused by support of IR Inliner
This commit is contained in:
+12
-11
@@ -1,3 +1,4 @@
|
||||
// IGNORE_INLINER: IR
|
||||
// FILE: test.kt
|
||||
|
||||
fun box() {
|
||||
@@ -8,18 +9,18 @@ fun box() {
|
||||
inline fun foo() = {
|
||||
}
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:4 box
|
||||
// test1.kt:8 box
|
||||
// test1.kt:9 box
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:4 box
|
||||
// test1.kt:9 invoke
|
||||
// test.kt:4 box
|
||||
// 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
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test1.kt:9 box
|
||||
// test.kt:4 box
|
||||
// test1.kt:6 box$lambda
|
||||
// test1.kt:10 box
|
||||
// test.kt:5 box
|
||||
// test1.kt:7 box$lambda
|
||||
// test.kt:6 box
|
||||
|
||||
+11
-10
@@ -1,3 +1,4 @@
|
||||
// IGNORE_INLINER: IR
|
||||
// FILE: test.kt
|
||||
|
||||
fun box() {
|
||||
@@ -9,24 +10,24 @@ fun box() {
|
||||
inline fun foo() = {
|
||||
}
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:4 box
|
||||
// test1.kt:9 box
|
||||
// test.kt:5 box
|
||||
// test1.kt:10 box
|
||||
// test1.kt:11 box
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:5 box
|
||||
// test1.kt:10 invoke
|
||||
// test.kt:5 box
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:6 box
|
||||
// test1.kt:11 invoke
|
||||
// test.kt:6 box
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:7 box
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:4 box
|
||||
// test.kt:5 box
|
||||
// test.kt:6 box
|
||||
// test.kt:7 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test1.kt:10 box
|
||||
// test.kt:4 box
|
||||
// test1.kt:11 box
|
||||
// test.kt:5 box
|
||||
// test1.kt:7 box$lambda
|
||||
// test.kt:6 box
|
||||
// test1.kt:8 box$lambda
|
||||
// test.kt:7 box
|
||||
|
||||
+28
-27
@@ -1,3 +1,4 @@
|
||||
// IGNORE_INLINER: IR
|
||||
// FILE: test.kt
|
||||
|
||||
fun box() {
|
||||
@@ -14,39 +15,39 @@ fun baz(v:(() -> Unit)) {
|
||||
v()
|
||||
}
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:4 box
|
||||
// test1.kt:10 box
|
||||
// test.kt:5 box
|
||||
// test1.kt:11 box
|
||||
// test.kt:4 box
|
||||
// test3.kt:14 baz
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test1.kt:11 invoke
|
||||
// test3.kt:14 baz
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test1.kt:12 box
|
||||
// test.kt:5 box
|
||||
// test3.kt:15 baz
|
||||
// test.kt:5 box
|
||||
// test1.kt:10 box
|
||||
// test1.kt:11 box
|
||||
// test.kt:5 box
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test1.kt:12 invoke
|
||||
// test3.kt:15 baz
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test3.kt:16 baz
|
||||
// test.kt:6 box
|
||||
// test1.kt:11 box
|
||||
// test1.kt:12 box
|
||||
// test.kt:6 box
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test3.kt:14 baz
|
||||
// test1.kt:11 invoke
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test3.kt:14 baz
|
||||
// test3.kt:15 baz
|
||||
// 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 JS_IR
|
||||
// test1.kt:11 box
|
||||
// test.kt:4 box
|
||||
// test3.kt:14 baz
|
||||
// test1.kt:8 box$lambda
|
||||
// test3.kt:15 baz
|
||||
// test1.kt:11 box
|
||||
// test1.kt:12 box
|
||||
// test.kt:5 box
|
||||
// test.kt:6 box
|
||||
// test3.kt:14 baz
|
||||
// test1.kt:8 box$lambda
|
||||
// test3.kt:15 baz
|
||||
// test1.kt:9 box$lambda
|
||||
// test3.kt:16 baz
|
||||
// test1.kt:12 box
|
||||
// test.kt:6 box
|
||||
// test.kt:7 box
|
||||
// test3.kt:15 baz
|
||||
// test1.kt:9 box$lambda
|
||||
// test3.kt:16 baz
|
||||
// test.kt:8 box
|
||||
|
||||
Reference in New Issue
Block a user