Generate method calls for inline classes through IC, not IC$Erased

IC extends IC$Erased, so it should be fine.
This commit is contained in:
Dmitry Petrov
2018-08-30 12:29:41 +03:00
parent 3080b65f7d
commit 80a67477db
10 changed files with 100 additions and 8 deletions
@@ -14,5 +14,5 @@ fun test(f: Foo) {
f.notInlineInc() // one here
}
// 0 INVOKESTATIC Foo\$Erased.inlineInc
// 1 INVOKESTATIC Foo\$Erased.notInlineInc
// 0 INVOKESTATIC Foo\.inlineInc
// 1 INVOKESTATIC Foo\.notInlineInc