[IR] Make IrGetObjectValue copyable to avoid duplicate IR nodes.

Fixes KT-45170
This commit is contained in:
Mads Ager
2021-03-04 13:54:18 +01:00
committed by Dmitry Petrov
parent e79c9a3618
commit 7dbb0c7d20
11 changed files with 59 additions and 1 deletions
@@ -16844,6 +16844,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/objects/kt4086.kt");
}
@TestMetadata("kt45170.kt")
public void testKt45170() throws Exception {
runTest("compiler/testData/codegen/box/objects/kt45170.kt");
}
@TestMetadata("kt535.kt")
public void testKt535() throws Exception {
runTest("compiler/testData/codegen/box/objects/kt535.kt");
@@ -16301,6 +16301,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/objects/kt4086.kt");
}
@TestMetadata("kt45170.kt")
public void testKt45170() throws Exception {
runTest("compiler/testData/codegen/box/objects/kt45170.kt");
}
@TestMetadata("kt535.kt")
public void testKt535() throws Exception {
runTest("compiler/testData/codegen/box/objects/kt535.kt");
@@ -16366,6 +16366,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/objects/kt4086.kt");
}
@TestMetadata("kt45170.kt")
public void testKt45170() throws Exception {
runTest("compiler/testData/codegen/box/objects/kt45170.kt");
}
@TestMetadata("kt535.kt")
public void testKt535() throws Exception {
runTest("compiler/testData/codegen/box/objects/kt535.kt");
@@ -10157,6 +10157,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/objects/kt4086.kt");
}
@TestMetadata("kt45170.kt")
public void testKt45170() throws Exception {
runTest("compiler/testData/codegen/box/objects/kt45170.kt");
}
@TestMetadata("kt694.kt")
public void testKt694() throws Exception {
runTest("compiler/testData/codegen/box/objects/kt694.kt");