Support bound callable reference inlining in IR

This commit is contained in:
Mikhael Bogdanov
2019-05-28 15:44:51 +02:00
parent 3c093f321d
commit 81e6416bfe
28 changed files with 461 additions and 180 deletions
@@ -734,11 +734,21 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
runTest("compiler/testData/codegen/boxInline/callableReference/constructor.kt");
}
@TestMetadata("innerGenericConstuctor.kt")
public void testInnerGenericConstuctor() throws Exception {
runTest("compiler/testData/codegen/boxInline/callableReference/innerGenericConstuctor.kt");
}
@TestMetadata("intrinsic.kt")
public void testIntrinsic() throws Exception {
runTest("compiler/testData/codegen/boxInline/callableReference/intrinsic.kt");
}
@TestMetadata("jvmFieldProperty.kt")
public void testJvmFieldProperty() throws Exception {
runTest("compiler/testData/codegen/boxInline/callableReference/jvmFieldProperty.kt");
}
@TestMetadata("kt15449.kt")
public void testKt15449() throws Exception {
runTest("compiler/testData/codegen/boxInline/callableReference/kt15449.kt");
@@ -801,6 +811,11 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
runTest("compiler/testData/codegen/boxInline/callableReference/bound/emptyLhsFunction.kt");
}
@TestMetadata("emptyLhsProperty.kt")
public void testEmptyLhsProperty() throws Exception {
runTest("compiler/testData/codegen/boxInline/callableReference/bound/emptyLhsProperty.kt");
}
@TestMetadata("expression.kt")
public void testExpression() throws Exception {
runTest("compiler/testData/codegen/boxInline/callableReference/bound/expression.kt");
@@ -816,11 +831,21 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
runTest("compiler/testData/codegen/boxInline/callableReference/bound/filter.kt");
}
@TestMetadata("innerGenericConstuctor.kt")
public void testInnerGenericConstuctor() throws Exception {
runTest("compiler/testData/codegen/boxInline/callableReference/bound/innerGenericConstuctor.kt");
}
@TestMetadata("intrinsic.kt")
public void testIntrinsic() throws Exception {
runTest("compiler/testData/codegen/boxInline/callableReference/bound/intrinsic.kt");
}
@TestMetadata("jvmFieldProperty.kt")
public void testJvmFieldProperty() throws Exception {
runTest("compiler/testData/codegen/boxInline/callableReference/bound/jvmFieldProperty.kt");
}
@TestMetadata("kt18728.kt")
public void testKt18728() throws Exception {
runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728.kt");
@@ -861,11 +886,26 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
runTest("compiler/testData/codegen/boxInline/callableReference/bound/propertyImportedFromObject.kt");
}
@TestMetadata("sideEffect.kt")
public void testSideEffect() throws Exception {
runTest("compiler/testData/codegen/boxInline/callableReference/bound/sideEffect.kt");
}
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
runTest("compiler/testData/codegen/boxInline/callableReference/bound/simple.kt");
}
@TestMetadata("simpleVal.kt")
public void testSimpleVal() throws Exception {
runTest("compiler/testData/codegen/boxInline/callableReference/bound/simpleVal.kt");
}
@TestMetadata("simpleVal2.kt")
public void testSimpleVal2() throws Exception {
runTest("compiler/testData/codegen/boxInline/callableReference/bound/simpleVal2.kt");
}
@TestMetadata("topLevelExtensionProperty.kt")
public void testTopLevelExtensionProperty() throws Exception {
runTest("compiler/testData/codegen/boxInline/callableReference/bound/topLevelExtensionProperty.kt");