Optimize defaults format: avoid reduntant stack normalization operations

This commit is contained in:
Mikhael Bogdanov
2017-01-25 11:26:15 +01:00
parent fc4be17623
commit 4c7a07bed6
3 changed files with 19 additions and 2 deletions
@@ -120,6 +120,12 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
doTest(fileName);
}
@TestMetadata("defaultMethodBody.kt")
public void testDefaultMethodBody() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeText/defaultMethodBody.kt");
doTest(fileName);
}
@TestMetadata("falseSmartCast.kt")
public void testFalseSmartCast() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeText/falseSmartCast.kt");