Add bytecode tests for array for-loop iteration.

This commit is contained in:
Mark Punzalan
2019-03-28 15:39:25 -07:00
committed by max-kammerer
parent 7afe121238
commit ba0e016c4e
5 changed files with 54 additions and 10 deletions
@@ -1627,11 +1627,21 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
runTest("compiler/testData/codegen/bytecodeText/forLoop/forInCharSequence.kt");
}
@TestMetadata("forInObjectArray.kt")
public void testForInObjectArray() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/forLoop/forInObjectArray.kt");
}
@TestMetadata("forInOptimizableUnsignedRange.kt")
public void testForInOptimizableUnsignedRange() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/forLoop/forInOptimizableUnsignedRange.kt");
}
@TestMetadata("forInPrimitiveArray.kt")
public void testForInPrimitiveArray() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/forLoop/forInPrimitiveArray.kt");
}
@TestMetadata("forInRangeSpecializedToUntil.kt")
public void testForInRangeSpecializedToUntil() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/forLoop/forInRangeSpecializedToUntil.kt");