Generate conditional jumps with optimizations for loops, if possible.
This commit is contained in:
committed by
max-kammerer
parent
2aaf13e734
commit
9eb11ff3e9
@@ -914,6 +914,11 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/negatedDisjunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("negatedNonZeroCompare.kt")
|
||||
public void testNegatedNonZeroCompare() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/negatedNonZeroCompare.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("negatedNullCompare.kt")
|
||||
public void testNegatedNullCompare() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/negatedNullCompare.kt");
|
||||
@@ -939,6 +944,11 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/noBoxingForPrimitiveEqObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nonZeroCompare.kt")
|
||||
public void testNonZeroCompare() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/nonZeroCompare.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nullCompare.kt")
|
||||
public void testNullCompare() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/nullCompare.kt");
|
||||
|
||||
Reference in New Issue
Block a user