JVM optimize out temporary variables in bytecode
This commit is contained in:
committed by
TeamCityServer
parent
bddfd086f6
commit
041773fd25
Vendored
+1
-1
@@ -13,5 +13,5 @@ fun test(x: A?) {
|
||||
// 0 ACONST_NULL
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// 1 POP
|
||||
// 2 POP
|
||||
// 0 ACONST_NULL
|
||||
+1
-1
@@ -24,4 +24,4 @@ fun test(ss: List<String?>) {
|
||||
// 2 POP
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// 1 POP
|
||||
// 2 POP
|
||||
|
||||
Reference in New Issue
Block a user