19 lines
363 B
Kotlin
Vendored
19 lines
363 B
Kotlin
Vendored
fun runNoInline(f: () -> Unit) = f()
|
|
|
|
fun test() {
|
|
var x = 1
|
|
run {
|
|
run {
|
|
runNoInline {
|
|
run {
|
|
++x
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// 1 NEW kotlin/jvm/internal/Ref\$IntRef
|
|
// 2 GETFIELD kotlin/jvm/internal/Ref\$IntRef\.element
|
|
// 2 PUTFIELD kotlin/jvm/internal/Ref\$IntRef\.element
|