JVM_IR simplify null check on trivially initialized vals only

This commit is contained in:
Dmitry Petrov
2021-10-01 11:17:16 +03:00
committed by TeamCityServer
parent ae1288948a
commit aea2db97c5
17 changed files with 73 additions and 10 deletions
@@ -6,8 +6,8 @@ fun test(na: A?) =
na?.b?.c?.s
// JVM_IR_TEMPLATES
// 1 DUP
// 1 IFNULL
// 3 DUP
// 3 IFNULL
// 0 IFNONNULL
// 1 ACONST_NULL