JVM_IR: do not do invokeinterface on Object methods
This works on HotSpot, but might confuse other VMs.
This commit is contained in:
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user