Revert "JVM_IR indy-SAM: use '-Xsam-conversions=indy' if JVM 1.8+, LV 1.5+"

This reverts commit 679756ad
This commit is contained in:
Dmitry Petrov
2021-03-10 07:39:29 +03:00
parent ba3f27b5ce
commit 02b5b931d4
7 changed files with 8 additions and 22 deletions
@@ -1,4 +1,3 @@
// SAM_CONVERSIONS: CLASS
// This optimization is only done by the JVM_IR backend.
// IGNORE_BACKEND: JVM
// FILE: JFoo.java
@@ -18,6 +17,7 @@ fun test() {
JFoo.foo(A()::f)
}
// Referenced function called from run(), no wrapper class generated:
// 1 NEW A
// 2 NEW
// 0 INVOKEINTERFACE