Set type of inliner's fake variable slots to int by storing 0

Otherwise, D8 drops the whole LVT.
 #KT-28309 Fixed
This commit is contained in:
Ilmir Usmanov
2018-12-11 19:57:28 +03:00
parent 55404ea00d
commit a107b5d6b6
3 changed files with 74 additions and 5 deletions
@@ -1948,6 +1948,11 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
runTest("compiler/testData/codegen/bytecodeText/inline/finallyMarkers.kt");
}
@TestMetadata("inlineArgumentSlots.kt")
public void testInlineArgumentSlots() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/inline/inlineArgumentSlots.kt");
}
@TestMetadata("inlineReturnsNothing1.kt")
public void testInlineReturnsNothing1() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/inline/inlineReturnsNothing1.kt");