JVM: Avoid boxing in inline class equality

This commit is contained in:
Steven Schäfer
2019-08-22 13:22:32 +02:00
committed by Alexander Udalov
parent f53b28e8a3
commit cdc5e1347b
7 changed files with 172 additions and 55 deletions
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM
// IGNORE_BACKEND: JVM_IR
// !LANGUAGE: +InlineClasses
@@ -35,4 +35,4 @@ fun test() {
// 0 INVOKESTATIC Result.box-impl
// 0 INVOKESTATIC Result.unbox-impl
// 0 Result\$Failure
// 52 Result
// 46 Result