JVM_IR don't move inplace arguments with variable stores

KT-49370
KT-49407
This commit is contained in:
Dmitry Petrov
2021-10-25 15:55:57 +03:00
committed by teamcityserver
parent 45a4cea655
commit c441980c74
11 changed files with 109 additions and 8 deletions
@@ -13414,6 +13414,16 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/inlineArgsInPlace/kotlinReflect.kt");
}
@TestMetadata("kt49370.kt")
public void testKt49370() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/kt49370.kt");
}
@TestMetadata("kt49407.kt")
public void testKt49407() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/kt49407.kt");
}
@TestMetadata("mapSet.kt")
public void testMapSet() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/mapSet.kt");
@@ -12820,6 +12820,16 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/kotlinReflect.kt");
}
@TestMetadata("kt49370.kt")
public void testKt49370() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/kt49370.kt");
}
@TestMetadata("kt49407.kt")
public void testKt49407() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/kt49407.kt");
}
@TestMetadata("mapSet.kt")
public void testMapSet() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/mapSet.kt");
@@ -12146,6 +12146,16 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/inlineArgsInPlace/kotlinReflect.kt");
}
@TestMetadata("kt49370.kt")
public void testKt49370() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/kt49370.kt");
}
@TestMetadata("kt49407.kt")
public void testKt49407() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/kt49407.kt");
}
@TestMetadata("mapSet.kt")
public void testMapSet() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/mapSet.kt");
@@ -14530,6 +14530,18 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/kotlinReflect.kt");
}
@Test
@TestMetadata("kt49370.kt")
public void testKt49370() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/kt49370.kt");
}
@Test
@TestMetadata("kt49407.kt")
public void testKt49407() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/kt49407.kt");
}
@Test
@TestMetadata("mapSet.kt")
public void testMapSet() throws Exception {