JS: optimize default arguments in cross-module inliner

This reduces size of circlet UI (of approx 2.5 mb) by about 90 kb
This commit is contained in:
Alexey Andreev
2017-09-13 16:47:46 +03:00
parent e6ab3dc936
commit ee4d790f43
4 changed files with 52 additions and 1 deletions
@@ -5096,6 +5096,12 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
doTest(fileName);
}
@TestMetadata("multiModuleDefaultArgsCleanup.kt")
public void testMultiModuleDefaultArgsCleanup() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/inlineSizeReduction/multiModuleDefaultArgsCleanup.kt");
doTest(fileName);
}
@TestMetadata("noDuplicateVariableDeclaration.kt")
public void testNoDuplicateVariableDeclaration() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/inlineSizeReduction/noDuplicateVariableDeclaration.kt");