[JVM_IR] Use iinc for incrementing Int variables.
Fix line number generation for assignments where the right-hand side of the assignment is not on the same line. Fix line number generation for intrinsics functions where the function is not on the same line as the last argument. Be careful to not break stepping behavior with the iinc optimizations.
This commit is contained in:
@@ -124,6 +124,11 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
|
||||
runTest("compiler/testData/codegen/bytecodeText/flagsInMultiFileInherit.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("iincGeneration.kt")
|
||||
public void testIincGeneration() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/iincGeneration.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inheritedPropertyAnnotations.kt")
|
||||
public void testInheritedPropertyAnnotations() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/inheritedPropertyAnnotations.kt");
|
||||
|
||||
Reference in New Issue
Block a user