JVM_IR optimize temporary vals initialized with other vals

This commit is contained in:
Dmitry Petrov
2021-08-23 14:37:28 +03:00
committed by TeamCityServer
parent 939f25333e
commit 568958492a
12 changed files with 422 additions and 380 deletions
@@ -0,0 +1,8 @@
class A(val b: B)
class B(val c: C)
class C(val s: String)
fun test(an: A?) = an?.b?.c?.s
// JVM_IR_TEMPLATES
// 0 ASTORE