Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
fa6706d92e6b4fd10bdb26da483b20467cd68a42
/
.
/
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