Revert "Simplify tail-call optimisation check"

This reverts commit a5bcd3495e.

 #KT-27190: Open
 #KT-29327: Fixed
This commit is contained in:
Ilmir Usmanov
2019-01-17 18:12:01 +03:00
committed by Stanislav Erokhin
parent 8fb2633bf4
commit dc6bb4cd08
4 changed files with 9 additions and 29 deletions
@@ -498,11 +498,6 @@ public class BytecodeListingTestGenerated extends AbstractBytecodeListingTest {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/bytecodeListing/tailcall"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("tailCallIfReturnUnit.kt")
public void testTailCallIfReturnUnit() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/tailcall/tailCallIfReturnUnit.kt");
}
@TestMetadata("tailCallIntrinsics.kt")
public void testTailCallIntrinsics_1_2() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/bytecodeListing/tailcall/tailCallIntrinsics.kt", "kotlin.coroutines.experimental");