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