JVM_IR fold safe calls and elvises

This commit is contained in:
Dmitry Petrov
2021-09-28 17:20:13 +03:00
committed by teamcityserver
parent 7370d096ee
commit 9325660f06
23 changed files with 266 additions and 78 deletions
@@ -26862,6 +26862,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
public void testSafeCallOnLong() throws Exception {
runTest("compiler/testData/codegen/box/safeCall/safeCallOnLong.kt");
}
@TestMetadata("safeCallWithElvisFolding.kt")
public void testSafeCallWithElvisFolding() throws Exception {
runTest("compiler/testData/codegen/box/safeCall/safeCallWithElvisFolding.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/sam")
@@ -26268,6 +26268,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
public void testSafeCallOnLong() throws Exception {
runTest("compiler/testData/codegen/box/safeCall/safeCallOnLong.kt");
}
@TestMetadata("safeCallWithElvisFolding.kt")
public void testSafeCallWithElvisFolding() throws Exception {
runTest("compiler/testData/codegen/box/safeCall/safeCallWithElvisFolding.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/sam")
@@ -26193,6 +26193,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
public void testSafeCallOnLong() throws Exception {
runTest("compiler/testData/codegen/box/safeCall/safeCallOnLong.kt");
}
@TestMetadata("safeCallWithElvisFolding.kt")
public void testSafeCallWithElvisFolding() throws Exception {
runTest("compiler/testData/codegen/box/safeCall/safeCallWithElvisFolding.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/sam")
@@ -15587,6 +15587,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
public void testSafeCallOnLong() throws Exception {
runTest("compiler/testData/codegen/box/safeCall/safeCallOnLong.kt");
}
@TestMetadata("safeCallWithElvisFolding.kt")
public void testSafeCallWithElvisFolding() throws Exception {
runTest("compiler/testData/codegen/box/safeCall/safeCallWithElvisFolding.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/sam")