JVM_IR KT-48435 use Java-like counter loop when possible

This commit is contained in:
Dmitry Petrov
2021-08-30 16:05:34 +03:00
committed by TeamCityServer
parent d4c91c96d3
commit 1c1b9547c1
20 changed files with 295 additions and 26 deletions
@@ -20210,6 +20210,16 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/ranges/forInFloatRangeWithCustomIterator.kt");
}
@TestMetadata("forInIntRangeToConstWithBreak.kt")
public void testForInIntRangeToConstWithBreak() throws Exception {
runTest("compiler/testData/codegen/box/ranges/forInIntRangeToConstWithBreak.kt");
}
@TestMetadata("forInIntRangeToConstWithContinue.kt")
public void testForInIntRangeToConstWithContinue() throws Exception {
runTest("compiler/testData/codegen/box/ranges/forInIntRangeToConstWithContinue.kt");
}
@TestMetadata("forInRangeLiteralWithMixedTypeBounds.kt")
public void testForInRangeLiteralWithMixedTypeBounds() throws Exception {
runTest("compiler/testData/codegen/box/ranges/forInRangeLiteralWithMixedTypeBounds.kt");
@@ -19616,6 +19616,16 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/ranges/forInFloatRangeWithCustomIterator.kt");
}
@TestMetadata("forInIntRangeToConstWithBreak.kt")
public void testForInIntRangeToConstWithBreak() throws Exception {
runTest("compiler/testData/codegen/box/ranges/forInIntRangeToConstWithBreak.kt");
}
@TestMetadata("forInIntRangeToConstWithContinue.kt")
public void testForInIntRangeToConstWithContinue() throws Exception {
runTest("compiler/testData/codegen/box/ranges/forInIntRangeToConstWithContinue.kt");
}
@TestMetadata("forInRangeLiteralWithMixedTypeBounds.kt")
public void testForInRangeLiteralWithMixedTypeBounds() throws Exception {
runTest("compiler/testData/codegen/box/ranges/forInRangeLiteralWithMixedTypeBounds.kt");
@@ -19666,6 +19666,16 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/ranges/forInFloatRangeWithCustomIterator.kt");
}
@TestMetadata("forInIntRangeToConstWithBreak.kt")
public void testForInIntRangeToConstWithBreak() throws Exception {
runTest("compiler/testData/codegen/box/ranges/forInIntRangeToConstWithBreak.kt");
}
@TestMetadata("forInIntRangeToConstWithContinue.kt")
public void testForInIntRangeToConstWithContinue() throws Exception {
runTest("compiler/testData/codegen/box/ranges/forInIntRangeToConstWithContinue.kt");
}
@TestMetadata("forInRangeLiteralWithMixedTypeBounds.kt")
public void testForInRangeLiteralWithMixedTypeBounds() throws Exception {
runTest("compiler/testData/codegen/box/ranges/forInRangeLiteralWithMixedTypeBounds.kt");
@@ -12617,6 +12617,16 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/ranges/forInFloatRangeWithCustomIterator.kt");
}
@TestMetadata("forInIntRangeToConstWithBreak.kt")
public void testForInIntRangeToConstWithBreak() throws Exception {
runTest("compiler/testData/codegen/box/ranges/forInIntRangeToConstWithBreak.kt");
}
@TestMetadata("forInIntRangeToConstWithContinue.kt")
public void testForInIntRangeToConstWithContinue() throws Exception {
runTest("compiler/testData/codegen/box/ranges/forInIntRangeToConstWithContinue.kt");
}
@TestMetadata("forInRangeLiteralWithMixedTypeBounds.kt")
public void testForInRangeLiteralWithMixedTypeBounds() throws Exception {
runTest("compiler/testData/codegen/box/ranges/forInRangeLiteralWithMixedTypeBounds.kt");