Make CHECKCAST Object not break tail-call optimization
Since CHECKCAST Object does nothing for return value of suspend function - the function returns references only, this is safe. #KT-49157 Fixed
This commit is contained in:
+5
@@ -9784,6 +9784,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/crossinline.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("deferredAwaitSuspendImpl.kt")
|
||||
public void testDeferredAwaitSuspendImpl() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/deferredAwaitSuspendImpl.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineWithStateMachine.kt")
|
||||
public void testInlineWithStateMachine() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/inlineWithStateMachine.kt");
|
||||
|
||||
Reference in New Issue
Block a user