Fixup end label of local variable if it is before start label

In that case, put end label to next label after start label.
This commit is contained in:
Ilmir Usmanov
2021-09-20 16:12:03 +02:00
committed by Space
parent ade9f5a1e8
commit 91491eef06
9 changed files with 113 additions and 0 deletions
@@ -8787,6 +8787,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/coroutines/varSpilling/kt38925.kt");
}
@TestMetadata("lvtWithInlineOnly.kt")
public void testLvtWithInlineOnly() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/varSpilling/lvtWithInlineOnly.kt");
}
@TestMetadata("nullSpilling.kt")
public void testNullSpilling() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/varSpilling/nullSpilling.kt");
@@ -8193,6 +8193,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/coroutines/varSpilling/kt38925.kt");
}
@TestMetadata("lvtWithInlineOnly.kt")
public void testLvtWithInlineOnly() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/varSpilling/lvtWithInlineOnly.kt");
}
@TestMetadata("nullSpilling.kt")
public void testNullSpilling() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/varSpilling/nullSpilling.kt");
@@ -8173,6 +8173,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/coroutines/varSpilling/kt38925.kt");
}
@TestMetadata("lvtWithInlineOnly.kt")
public void testLvtWithInlineOnly() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/varSpilling/lvtWithInlineOnly.kt");
}
@TestMetadata("nullSpilling.kt")
public void testNullSpilling() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/varSpilling/nullSpilling.kt");