[JVM_IR] Support basic fake var generation for IR inliner

#KT-58778
This commit is contained in:
Ivan Kylchik
2022-12-21 08:18:03 +01:00
committed by Space Team
parent 5a09ca6908
commit 17e49fce75
19 changed files with 1212 additions and 128 deletions
@@ -79,6 +79,12 @@ public class IrJsLocalVariableTestGenerated extends AbstractIrJsLocalVariableTes
runTest("compiler/testData/debug/localVariables/jsCode.kt");
}
@Test
@TestMetadata("lambdaWithLambdaParameter.kt")
public void testLambdaWithLambdaParameter() throws Exception {
runTest("compiler/testData/debug/localVariables/lambdaWithLambdaParameter.kt");
}
@Test
@TestMetadata("localFun.kt")
public void testLocalFun() throws Exception {
@@ -170,9 +176,15 @@ public class IrJsLocalVariableTestGenerated extends AbstractIrJsLocalVariableTes
}
@Test
@TestMetadata("tryFinally6.kt")
public void testTryFinally6() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally6.kt");
@TestMetadata("tryFinally6_1.kt")
public void testTryFinally6_1() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally6_1.kt");
}
@Test
@TestMetadata("tryFinally6_2.kt")
public void testTryFinally6_2() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally6_2.kt");
}
@Test
@@ -394,6 +406,24 @@ public class IrJsLocalVariableTestGenerated extends AbstractIrJsLocalVariableTes
runTest("compiler/testData/debug/localVariables/suspend/mergeLvt.kt");
}
@Test
@TestMetadata("nestedInsideSuspendUnintercepted.kt")
public void testNestedInsideSuspendUnintercepted() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/nestedInsideSuspendUnintercepted.kt");
}
@Test
@TestMetadata("nestedSuspendUnintercepted.kt")
public void testNestedSuspendUnintercepted() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUnintercepted.kt");
}
@Test
@TestMetadata("nestedSuspendUninterceptedWithDeepLambdaCall.kt")
public void testNestedSuspendUninterceptedWithDeepLambdaCall() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUninterceptedWithDeepLambdaCall.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {