Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ba045e44fbc13a4a8bcfa03689115fd0a25366a9
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
capturedVarsOptimization
/
capturedInNoInlineOnly.kt
blob: 7537f21d76edc5a526e6906045b5390e8c70aa3d [
file
] [
log
] [
blame
]
// WITH_RUNTIME
fun runNoInline
(
f
:
()
->
Unit
)
=
f
()
fun test
()
{
var
x
=
0
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