JVM_IR fold safe calls and elvises

This commit is contained in:
Dmitry Petrov
2021-09-28 17:20:13 +03:00
committed by teamcityserver
parent 7370d096ee
commit 9325660f06
23 changed files with 266 additions and 78 deletions
@@ -0,0 +1,6 @@
fun test(a: Any?, b: Any?, c: Any) =
a ?: b ?: c
// 2 IFNONNULL
// 0 IFNULL
// 0 ACONST_NULL