Skip call to the underlying value of inline class

This commit is contained in:
Mikhail Zarechenskiy
2018-02-08 12:18:52 +03:00
parent 2c279978c8
commit c86d3e354b
10 changed files with 134 additions and 6 deletions
@@ -10467,6 +10467,18 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("referToUnderlyingPropertyInsideInlineClass.kt")
public void testReferToUnderlyingPropertyInsideInlineClass() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/inlineClasses/referToUnderlyingPropertyInsideInlineClass.kt");
doTest(fileName);
}
@TestMetadata("referToUnderlyingPropertyOfInlineClass.kt")
public void testReferToUnderlyingPropertyOfInlineClass() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/inlineClasses/referToUnderlyingPropertyOfInlineClass.kt");
doTest(fileName);
}
@TestMetadata("UIntArraySortExample.kt")
public void testUIntArraySortExample() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/inlineClasses/UIntArraySortExample.kt");
@@ -1974,6 +1974,12 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
doTest(fileName);
}
@TestMetadata("skipCallToUnderlyingValueOfInlineClass.kt")
public void testSkipCallToUnderlyingValueOfInlineClass() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeText/inlineClasses/skipCallToUnderlyingValueOfInlineClass.kt");
doTest(fileName);
}
@TestMetadata("uIntArrayIteratorWithoutBoxing.kt")
public void testUIntArrayIteratorWithoutBoxing() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeText/inlineClasses/uIntArrayIteratorWithoutBoxing.kt");
@@ -10467,6 +10467,18 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
doTest(fileName);
}
@TestMetadata("referToUnderlyingPropertyInsideInlineClass.kt")
public void testReferToUnderlyingPropertyInsideInlineClass() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/inlineClasses/referToUnderlyingPropertyInsideInlineClass.kt");
doTest(fileName);
}
@TestMetadata("referToUnderlyingPropertyOfInlineClass.kt")
public void testReferToUnderlyingPropertyOfInlineClass() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/inlineClasses/referToUnderlyingPropertyOfInlineClass.kt");
doTest(fileName);
}
@TestMetadata("UIntArraySortExample.kt")
public void testUIntArraySortExample() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/inlineClasses/UIntArraySortExample.kt");