JVM_IR more aggressive if-null expressions fusion
Assume that changing a return type from T to T? is not a binary-compatible change.
This commit is contained in:
committed by
teamcityserver
parent
6f0bf766f2
commit
02d8c7527e
js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenBoxES6TestGenerated.java
Generated
+5
@@ -1030,6 +1030,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/boxingOptimization/safeCallWithElvis.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("safeCallWithElvisMultipleFiles.kt")
|
||||
public void testSafeCallWithElvisMultipleFiles() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/boxingOptimization/safeCallWithElvisMultipleFiles.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/boxingOptimization/simple.kt");
|
||||
|
||||
Generated
+5
@@ -1030,6 +1030,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/boxingOptimization/safeCallWithElvis.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("safeCallWithElvisMultipleFiles.kt")
|
||||
public void testSafeCallWithElvisMultipleFiles() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/boxingOptimization/safeCallWithElvisMultipleFiles.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/boxingOptimization/simple.kt");
|
||||
|
||||
Generated
+5
@@ -1030,6 +1030,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/boxingOptimization/safeCallWithElvis.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("safeCallWithElvisMultipleFiles.kt")
|
||||
public void testSafeCallWithElvisMultipleFiles() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/boxingOptimization/safeCallWithElvisMultipleFiles.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/boxingOptimization/simple.kt");
|
||||
|
||||
js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/wasm/semantics/IrCodegenBoxWasmTestGenerated.java
Generated
+5
@@ -900,6 +900,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
runTest("compiler/testData/codegen/box/boxingOptimization/safeCallWithElvis.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("safeCallWithElvisMultipleFiles.kt")
|
||||
public void testSafeCallWithElvisMultipleFiles() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/boxingOptimization/safeCallWithElvisMultipleFiles.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/boxingOptimization/simple.kt");
|
||||
|
||||
Reference in New Issue
Block a user