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
@@ -2299,6 +2299,11 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
public void testHashCode() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/hashCode/hashCode.kt");
}
@TestMetadata("interfaceHashCode.kt")
public void testInterfaceHashCode() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/hashCode/interfaceHashCode.kt");
}
}
@TestMetadata("compiler/testData/codegen/bytecodeText/ieee754")