Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
161333d3e7d13dd98386fe346a71a07eadfe4756
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
disabledOptimizations
/
noJumpInLastBranch.kt
blob: 62a638e4db05c28dcd4c656bd07fa8339fb18d4b [
file
]
// DISABLE_OPTIMIZATION
fun consume
(
i
:
Int
)
{}
fun foo
(
a
:
String
)
{
var
b
=
1
if
(
a
[
1
]
==
'b'
)
{
b
=
2
}
else
if
(
a
[
0
]
==
'a'
)
{
b
=
3
}
consume
(
b
)
}
// 1 GOTO
// 2 IF