[K/N] Support volatile intrinsics on globals
Also, make intrinsics signature more consistent with other intrinsics, e.g. with isInitialized on lateinit field. ^KT-54944
This commit is contained in:
committed by
Space Team
parent
49d286e4e8
commit
6ab00a65dd
@@ -22,5 +22,5 @@ import kotlin.concurrent.*
|
||||
fun box() : String {
|
||||
val o = "O"
|
||||
val x = Box(o)
|
||||
return x.compareAndSwapField(Box::value, o, "K") + x.value
|
||||
return x::value.compareAndSwapField(o, "K") + x.value
|
||||
}
|
||||
Reference in New Issue
Block a user