Lines Matching defs:old_ref
60 MirrorType* old_ref = ref;
66 if (kAlwaysUpdateField && ref != old_ref) {
68 offset, old_ref, ref);
78 MirrorType* old_ref = ref;
81 if (heap != nullptr && heap->GetReadBarrierTable()->IsSet(old_ref)) {
82 ref = reinterpret_cast<MirrorType*>(Mark(old_ref));
84 if (ref != old_ref) {
86 offset, old_ref, ref);
129 MirrorType* old_ref = ref;
130 ref = reinterpret_cast<MirrorType*>(Mark(old_ref));
132 if (ref != old_ref) {
134 atomic_root->CompareAndSetStrongRelaxed(old_ref, ref);
170 auto old_ref = mirror::CompressedReference<MirrorType>::FromMirrorPtr(ref);
174 if (new_ref.AsMirrorPtr() != old_ref.AsMirrorPtr()) {
177 atomic_root->CompareAndSetStrongRelaxed(old_ref, new_ref);