'box'/'unbox' methods are called by inline class

This commit is contained in:
Dmitry Petrov
2018-08-30 14:06:15 +03:00
parent 580b782585
commit b1016936b2
20 changed files with 58 additions and 24 deletions
@@ -11,7 +11,7 @@ fun test(a: InlineNotNullPrimitive, b: InlineNotNullReference) {
testNotNullReference(b, b, b, b) // 2 box
}
// 3 INVOKESTATIC InlineNotNullPrimitive\$Erased.box
// 2 INVOKESTATIC InlineNotNullReference\$Erased.box
// 3 INVOKESTATIC InlineNotNullPrimitive\.box
// 2 INVOKESTATIC InlineNotNullReference\.box
// 0 valueOf