JVM optimize out temporary variables in bytecode
This commit is contained in:
committed by
TeamCityServer
parent
bddfd086f6
commit
041773fd25
@@ -0,0 +1,8 @@
|
||||
class A(val bn: B?)
|
||||
class B(val cn: C?)
|
||||
class C(val s: String)
|
||||
|
||||
fun test(an: A?) = an?.bn?.cn?.s
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// 0 ASTORE
|
||||
Reference in New Issue
Block a user