mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
New null check assertions are generated a bit more efficiently, with a call to `checkNotNull` instead of IFNONNULL+jump.
11 lines
156 B
Kotlin
Vendored
11 lines
156 B
Kotlin
Vendored
val p: Int? = 1;
|
|
val z: Int? = 2;
|
|
|
|
fun test3() {
|
|
if (!!!(p!! < z!!)) {
|
|
val p = 1
|
|
}
|
|
}
|
|
// 2 checkNotNull \(Ljava/lang/Object;\)V
|
|
// 1 IF_ICMP
|