Replace POP with ARETURN if it pops Unit and ARETURN shall return Unit

#KT-16880: Fixed
This commit is contained in:
Ilmir Usmanov
2017-11-10 15:46:11 +03:00
parent 2cdc246a27
commit c8904b1c7c
7 changed files with 354 additions and 2 deletions
@@ -162,6 +162,12 @@ public class BytecodeListingTestGenerated extends AbstractBytecodeListingTest {
doTest(fileName);
}
@TestMetadata("tailSuspendUnitFun.kt")
public void testTailSuspendUnitFun() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeListing/tailSuspendUnitFun.kt");
doTest(fileName);
}
@TestMetadata("compiler/testData/codegen/bytecodeListing/annotations")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)