JVM_IR KT-47984 don't move inplace arguments with suspension points

This commit is contained in:
Dmitry Petrov
2021-08-07 12:27:33 +03:00
committed by TeamCityServer
parent 9acdcc7590
commit 9be941def2
11 changed files with 132 additions and 14 deletions
@@ -13097,6 +13097,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
public void testMutableCollectionPlusAssign() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/mutableCollectionPlusAssign.kt");
}
@TestMetadata("suspensionPointInsideArgument.kt")
public void testSuspensionPointInsideArgument() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/suspensionPointInsideArgument.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/inlineClasses")
@@ -12503,6 +12503,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
public void testMutableCollectionPlusAssign() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/mutableCollectionPlusAssign.kt");
}
@TestMetadata("suspensionPointInsideArgument.kt")
public void testSuspensionPointInsideArgument() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/suspensionPointInsideArgument.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/inlineClasses")
@@ -12568,6 +12568,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
public void testMutableCollectionPlusAssign() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/mutableCollectionPlusAssign.kt");
}
@TestMetadata("suspensionPointInsideArgument.kt")
public void testSuspensionPointInsideArgument() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/suspensionPointInsideArgument.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/inlineClasses")
@@ -6658,6 +6658,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
public void testMutableCollectionPlusAssign() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/mutableCollectionPlusAssign.kt");
}
@TestMetadata("suspensionPointInsideArgument.kt")
public void testSuspensionPointInsideArgument() throws Exception {
runTest("compiler/testData/codegen/box/inlineArgsInPlace/suspensionPointInsideArgument.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/inlineClasses")