JVM IR: Implement the new inline class ABI

This commit is contained in:
Steven Schäfer
2020-05-20 19:12:11 +02:00
committed by Dmitry Petrov
parent e60a32e8d3
commit dc0ef996b7
192 changed files with 95 additions and 376 deletions
@@ -1,8 +1,6 @@
// !LANGUAGE: +InlineClasses
// WITH_RUNTIME
// KJS_WITH_FULL_RUNTIME
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR
class C<T>(val x: T, vararg ys: UInt) {
val y0 = ys[0]
@@ -1,6 +1,4 @@
// WITH_RUNTIME
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR
fun box(): String {
val ok = Result.success("OK")