JVM_IR KT-46864 handle "unused" LDC instructions properly

This commit is contained in:
Dmitry Petrov
2021-05-31 12:03:30 +03:00
committed by TeamCityServer
parent be097244d4
commit 9091ca7b51
11 changed files with 111 additions and 11 deletions
@@ -18668,6 +18668,16 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/primitiveTypes/kt446.kt");
}
@TestMetadata("kt46864_double.kt")
public void testKt46864_double() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/kt46864_double.kt");
}
@TestMetadata("kt46864_long.kt")
public void testKt46864_long() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/kt46864_long.kt");
}
@TestMetadata("kt518.kt")
public void testKt518() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/kt518.kt");
@@ -18074,6 +18074,16 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/primitiveTypes/kt446.kt");
}
@TestMetadata("kt46864_double.kt")
public void testKt46864_double() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/kt46864_double.kt");
}
@TestMetadata("kt46864_long.kt")
public void testKt46864_long() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/kt46864_long.kt");
}
@TestMetadata("kt518.kt")
public void testKt518() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/kt518.kt");
@@ -18139,6 +18139,16 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/primitiveTypes/kt446.kt");
}
@TestMetadata("kt46864_double.kt")
public void testKt46864_double() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/kt46864_double.kt");
}
@TestMetadata("kt46864_long.kt")
public void testKt46864_long() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/kt46864_long.kt");
}
@TestMetadata("kt518.kt")
public void testKt518() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/kt518.kt");
@@ -11475,6 +11475,16 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/primitiveTypes/kt446.kt");
}
@TestMetadata("kt46864_double.kt")
public void testKt46864_double() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/kt46864_double.kt");
}
@TestMetadata("kt46864_long.kt")
public void testKt46864_long() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/kt46864_long.kt");
}
@TestMetadata("kt518.kt")
public void testKt518() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/kt518.kt");