ForLoopsLowering: Add PLUSEQ origin to increment to use IINC
instructions if possible.
This commit is contained in:
committed by
Alexander Udalov
parent
14137cb013
commit
8bc7370b92
@@ -2157,6 +2157,11 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
|
||||
runTest("compiler/testData/codegen/bytecodeText/forLoop/forIntInDownTo.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("iincGeneration.kt")
|
||||
public void testIincGeneration() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/forLoop/iincGeneration.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("intrinsicArrayConstructorsUseCounterLoop.kt")
|
||||
public void testIntrinsicArrayConstructorsUseCounterLoop() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/forLoop/intrinsicArrayConstructorsUseCounterLoop.kt");
|
||||
|
||||
Reference in New Issue
Block a user