[JVM_IR] Reduce the amount of super suffixes on accesibility bridges.
The super suffix was used for any static field/method that needed an accessor. We should only use it when that field or method is inherited.
This commit is contained in:
committed by
Alexander Udalov
parent
a33877a9b9
commit
ef36b81c67
+5
@@ -36,6 +36,11 @@ public class BytecodeListingTestGenerated extends AbstractBytecodeListingTest {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/accessorForProtectedPropertyWithPrivateSetterInObjectLiteral.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("accessorForTopLevelMembers.kt")
|
||||
public void testAccessorForTopLevelMembers() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/accessorForTopLevelMembers.kt");
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInBytecodeListing() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/bytecodeListing"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
+5
@@ -36,6 +36,11 @@ public class IrBytecodeListingTestGenerated extends AbstractIrBytecodeListingTes
|
||||
runTest("compiler/testData/codegen/bytecodeListing/accessorForProtectedPropertyWithPrivateSetterInObjectLiteral.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("accessorForTopLevelMembers.kt")
|
||||
public void testAccessorForTopLevelMembers() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/accessorForTopLevelMembers.kt");
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInBytecodeListing() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/bytecodeListing"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user