JVM_IR: do not do invokeinterface on Object methods

This works on HotSpot, but might confuse other VMs.
This commit is contained in:
pyos
2019-12-10 11:05:31 +01:00
committed by max-kammerer
parent df0a86ea57
commit 498b41b148
13 changed files with 89 additions and 8 deletions
@@ -0,0 +1,8 @@
// IGNORE_BACKEND_FIR: JVM_IR
interface I
class C : I { fun foo() = super<I>.hashCode() }
fun box(): String {
C().foo()
return "OK"
}