Simple version of redundant GOTO's removing

This commit is contained in:
Denis Zharkov
2014-09-16 18:25:21 +04:00
committed by Michael Bogdanov
parent e1c2fbaec0
commit da159c1e53
5 changed files with 98 additions and 17 deletions
@@ -171,6 +171,12 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
doTest(fileName);
}
@TestMetadata("redundantGotoRemoving.kt")
public void testRedundantGotoRemoving() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeText/redundantGotoRemoving.kt");
doTest(fileName);
}
@TestMetadata("topLevelFunWithDefaultArgs.kt")
public void testTopLevelFunWithDefaultArgs() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeText/topLevelFunWithDefaultArgs.kt");