JVM_IR: do not generate excessive stubs for immutable collections

This commit is contained in:
Georgy Bronnikov
2020-03-05 15:36:42 +03:00
parent 9955f342c0
commit 92268c8144
4 changed files with 66 additions and 12 deletions
@@ -84,6 +84,11 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
runTest("compiler/testData/codegen/bytecodeText/charConstant.kt");
}
@TestMetadata("collectionStubs.kt")
public void testCollectionStubs() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/collectionStubs.kt");
}
@TestMetadata("componentEvaluatesOnlyOnce.kt")
public void testComponentEvaluatesOnlyOnce() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/componentEvaluatesOnlyOnce.kt");