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