JVM_IR KT-47984 transform inplace arguments before inlining

This commit is contained in:
Dmitry Petrov
2021-08-09 16:42:06 +03:00
committed by TeamCityServer
parent 7a99f9ff2e
commit 5096e8c5c4
13 changed files with 278 additions and 11 deletions
@@ -13078,6 +13078,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineArgsInPlace"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
}
@TestMetadata("arrayDequeRemoveAll.kt")
public void testArrayDequeRemoveAll() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/arrayDequeRemoveAll.kt");
}
@TestMetadata("breakInArgumentExpression.kt")
public void testBreakInArgumentExpression() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/breakInArgumentExpression.kt");
@@ -13088,6 +13093,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/inlineArgsInPlace/continueInArgumentExpression.kt");
}
@TestMetadata("inlineCircularDedepency.kt")
public void testInlineCircularDedepency() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/inlineCircularDedepency.kt");
}
@TestMetadata("mapSet.kt")
public void testMapSet() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/mapSet.kt");
@@ -12484,6 +12484,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineArgsInPlace"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@TestMetadata("arrayDequeRemoveAll.kt")
public void testArrayDequeRemoveAll() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/arrayDequeRemoveAll.kt");
}
@TestMetadata("breakInArgumentExpression.kt")
public void testBreakInArgumentExpression() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/breakInArgumentExpression.kt");
@@ -12494,6 +12499,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/continueInArgumentExpression.kt");
}
@TestMetadata("inlineCircularDedepency.kt")
public void testInlineCircularDedepency() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/inlineCircularDedepency.kt");
}
@TestMetadata("mapSet.kt")
public void testMapSet() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/mapSet.kt");
@@ -12549,6 +12549,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineArgsInPlace"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
}
@TestMetadata("arrayDequeRemoveAll.kt")
public void testArrayDequeRemoveAll() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/arrayDequeRemoveAll.kt");
}
@TestMetadata("breakInArgumentExpression.kt")
public void testBreakInArgumentExpression() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/breakInArgumentExpression.kt");
@@ -12559,6 +12564,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/continueInArgumentExpression.kt");
}
@TestMetadata("inlineCircularDedepency.kt")
public void testInlineCircularDedepency() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/inlineCircularDedepency.kt");
}
@TestMetadata("mapSet.kt")
public void testMapSet() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/mapSet.kt");
@@ -6639,6 +6639,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineArgsInPlace"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
@TestMetadata("arrayDequeRemoveAll.kt")
public void testArrayDequeRemoveAll() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/arrayDequeRemoveAll.kt");
}
@TestMetadata("breakInArgumentExpression.kt")
public void testBreakInArgumentExpression() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/breakInArgumentExpression.kt");
@@ -6649,6 +6654,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/inlineArgsInPlace/continueInArgumentExpression.kt");
}
@TestMetadata("inlineCircularDedepency.kt")
public void testInlineCircularDedepency() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/inlineCircularDedepency.kt");
}
@TestMetadata("mapSet.kt")
public void testMapSet() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/mapSet.kt");