Optimize JVM byte code generation for conditional conjunction
Implement an intrinsic method for boolean.and operation, and replace ANDAND condition with a call to such intrinsic method.
This commit is contained in:
committed by
max-kammerer
parent
53493657ff
commit
4b99d85322
Generated
+5
@@ -10854,6 +10854,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/intrinsics/longRangeWithExplicitDot.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nonShortCircuitAnd.kt")
|
||||
public void testNonShortCircuitAnd() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/intrinsics/nonShortCircuitAnd.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("prefixIncDec.kt")
|
||||
public void testPrefixIncDec() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/intrinsics/prefixIncDec.kt");
|
||||
|
||||
+5
@@ -11999,6 +11999,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/intrinsics/longRangeWithExplicitDot.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nonShortCircuitAnd.kt")
|
||||
public void testNonShortCircuitAnd() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/intrinsics/nonShortCircuitAnd.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("prefixIncDec.kt")
|
||||
public void testPrefixIncDec() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/intrinsics/prefixIncDec.kt");
|
||||
|
||||
Reference in New Issue
Block a user