Revert "JVM IR: Move direct invoke optimization into a separate pass"

This reverts commit f0760e0550.

The reason is that it leads to KT-53202.
This commit is contained in:
Alexander Udalov
2022-07-15 15:11:10 +02:00
parent 497bb9a05c
commit b50d2ff20a
19 changed files with 417 additions and 191 deletions
@@ -7,11 +7,11 @@ fun box() {
}
// EXPECTATIONS
// EXPECTATIONS JVM_IR
// test.kt:5 box
// test.kt:4 box
// EXPECTATIONS JVM
// test.kt:4 box
// test.kt:5 invoke
// test.kt:4 box
// EXPECTATIONS JVM_IR
// test.kt:5 box$lambda$0
// EXPECTATIONS
// test.kt:4 box
// test.kt:7 box