Tests for for-in optimization with unsigned ranges

This commit is contained in:
Dmitry Petrov
2019-01-09 11:23:14 +03:00
parent a2c618366b
commit e6e0e9976c
3 changed files with 63 additions and 0 deletions
@@ -1471,6 +1471,11 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
runTest("compiler/testData/codegen/bytecodeText/forLoop/forInCharSequence.kt");
}
@TestMetadata("forInOptimizableUnsignedRange.kt")
public void testForInOptimizableUnsignedRange() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/forLoop/forInOptimizableUnsignedRange.kt");
}
@TestMetadata("forInRangeSpecializedToUntil.kt")
public void testForInRangeSpecializedToUntil() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/forLoop/forInRangeSpecializedToUntil.kt");