Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
161333d3e7d13dd98386fe346a71a07eadfe4756
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
capturedVarsOptimization
/
capturedInNoInlineOnly.kt
blob: 70b9b8d34fcbebcd57bacc15451646f98c72bce6 [
file
]
fun runNoInline
(
f
:
()
->
Unit
)
=
f
()
fun test
()
{
var
x
=
1
runNoInline
{
++
x
}
}
// 1 NEW kotlin/jvm/internal/Ref\$IntRef
// 2 GETFIELD kotlin/jvm/internal/Ref\$IntRef\.element
// 2 PUTFIELD kotlin/jvm/internal/Ref\$IntRef\.element