Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
073a50037049a4e0869085bf4acf7c29e56210e3
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
conditions
/
negatedNullCompareInWhile.kt
blob: dc992ee7afd7b30c74d3a0783f08c9bfdb44f4be [
file
] [
log
] [
blame
]
fun main
(
p
:
String
?,
p2
:
String
?)
{
// Generates IFNULL and GOTO
while
(!(
p
==
null
))
{
"loop"
}
// Generates IFNULL and GOTO
while
(
p2
!=
null
)
{
"loop"
}
}
//0 ICONST_0
//0 ICONST_1
//0 ACONST_NULL
//2 IFNULL
//2 IF
//2 GOTO