Home
last modified time | relevance | path

Searched refs:onArrayElement (Results 1 – 1 of 1) sorted by relevance

/external/kotlinx.atomicfu/atomicfu-transformer/src/main/kotlin/kotlinx/atomicfu/transformer/
DAtomicFUTransformer.kt629 onArrayElement: Boolean, // true when fixing invokeVirtual on loaded array element in fixupInvokeVirtual()
633 … check(f.isArray || !onArrayElement) { "Cannot fix array element access on non array fields" } in fixupInvokeVirtual()
634 val typeInfo = if (onArrayElement) f.typeInfo else AFU_CLASSES.getValue(iv.owner) in fixupInvokeVirtual()
636 …check(!f.isArray || onArrayElement) { "getValue/setValue can only be called on elements of arrays"… in fixupInvokeVirtual()
638 if (!onArrayElement) { in fixupInvokeVirtual()
690 …check(f.isArray == onArrayElement) { "Atomic operations can be performed on atomic elements only" } in fixupInvokeVirtual()
702 if (f.isStatic && !onArrayElement) { in fixupInvokeVirtual()
715 if (!onArrayElement) { in fixupInvokeVirtual()
859 val onArrayElement = arrayElementInfo != null in fixupOperationOnAtomicVar() constant
860 check(f.isArray == onArrayElement) in fixupOperationOnAtomicVar()
[all …]