JVM_IR: do not do invokeinterface on Object methods
This works on HotSpot, but might confuse other VMs.
This commit is contained in:
+5
@@ -26722,6 +26722,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/super/innerClassQualifiedPropertyAccess.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("interfaceHashCode.kt")
|
||||
public void testInterfaceHashCode() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/super/interfaceHashCode.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt14243.kt")
|
||||
public void testKt14243() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/super/kt14243.kt");
|
||||
|
||||
@@ -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")
|
||||
|
||||
+5
@@ -25539,6 +25539,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/super/innerClassQualifiedPropertyAccess.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("interfaceHashCode.kt")
|
||||
public void testInterfaceHashCode() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/super/interfaceHashCode.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt14243.kt")
|
||||
public void testKt14243() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/super/kt14243.kt");
|
||||
|
||||
+5
@@ -25221,6 +25221,11 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/super/innerClassQualifiedPropertyAccess.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("interfaceHashCode.kt")
|
||||
public void testInterfaceHashCode() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/super/interfaceHashCode.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt14243.kt")
|
||||
public void testKt14243() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/super/kt14243.kt");
|
||||
|
||||
+5
@@ -25221,6 +25221,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/super/innerClassQualifiedPropertyAccess.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("interfaceHashCode.kt")
|
||||
public void testInterfaceHashCode() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/super/interfaceHashCode.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt14243.kt")
|
||||
public void testKt14243() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/super/kt14243.kt");
|
||||
|
||||
+5
@@ -2344,6 +2344,11 @@ public class IrBytecodeTextTestGenerated extends AbstractIrBytecodeTextTest {
|
||||
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")
|
||||
|
||||
Reference in New Issue
Block a user