mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 08:31:35 +00:00
- Turn some const conditions into non-const conditions - Make sure inlined const values are used where required (otherwise they are eliminated by POP backward propagation)
16 lines
156 B
Kotlin
Vendored
16 lines
156 B
Kotlin
Vendored
val a = 1
|
|
|
|
fun main() {
|
|
if (!(a == 0)) {
|
|
"then"
|
|
} else {
|
|
"else"
|
|
}
|
|
}
|
|
|
|
//0 ICONST_0
|
|
//1 ICONST_1
|
|
//1 IFEQ
|
|
//0 IFNE
|
|
//1 IF
|
|
//1 GOTO |