Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
b32f408767cf86efaa65eb02699fe00bd61d99a6
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
capturedVarsOptimization
/
capturedInLocalObject.kt
blob: 3d4e7385c18b24d1f19cd00bc59bcf9d55a7203d [
file
]
fun test
()
{
var
x
=
1
run
{
val obj
=
object
{
fun foo
()
{
++
x
}
}
obj
.
foo
()
}
}
// 1 NEW kotlin/jvm/internal/Ref\$IntRef
// 2 GETFIELD kotlin/jvm/internal/Ref\$IntRef\.element
// 2 PUTFIELD kotlin/jvm/internal/Ref\$IntRef\.element