Do not extend LVT ranges during inplace arguments inlining
Otherwise, R8 does not transform kotlin-reflect, failing bootstrap. Leaving end label the same is safe, since we do not remove labels during transformation.
This commit is contained in:
js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenBoxES6TestGenerated.java
Generated
+5
@@ -13098,6 +13098,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/inlineArgsInPlace/inlineCircularDedepency.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kotlinReflect.kt")
|
||||
public void testKotlinReflect() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineArgsInPlace/kotlinReflect.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("mapSet.kt")
|
||||
public void testMapSet() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineArgsInPlace/mapSet.kt");
|
||||
|
||||
Generated
+5
@@ -12504,6 +12504,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/inlineArgsInPlace/inlineCircularDedepency.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kotlinReflect.kt")
|
||||
public void testKotlinReflect() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineArgsInPlace/kotlinReflect.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("mapSet.kt")
|
||||
public void testMapSet() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineArgsInPlace/mapSet.kt");
|
||||
|
||||
Generated
+5
@@ -12569,6 +12569,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/inlineArgsInPlace/inlineCircularDedepency.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kotlinReflect.kt")
|
||||
public void testKotlinReflect() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineArgsInPlace/kotlinReflect.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("mapSet.kt")
|
||||
public void testMapSet() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineArgsInPlace/mapSet.kt");
|
||||
|
||||
js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/wasm/semantics/IrCodegenBoxWasmTestGenerated.java
Generated
+5
@@ -6659,6 +6659,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
runTest("compiler/testData/codegen/box/inlineArgsInPlace/inlineCircularDedepency.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kotlinReflect.kt")
|
||||
public void testKotlinReflect() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineArgsInPlace/kotlinReflect.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("mapSet.kt")
|
||||
public void testMapSet() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineArgsInPlace/mapSet.kt");
|
||||
|
||||
Reference in New Issue
Block a user