Lines Matching refs:to_ref
57 mirror::Object* to_ref = GetFwdPtr(from_ref);
59 DCHECK_NE(to_ref, ReadBarrier::GrayPtr())
60 << "from_ref=" << from_ref << " to_ref=" << to_ref;
62 if (to_ref == nullptr) {
64 to_ref = Copy(from_ref);
66 DCHECK(region_space_->IsInToSpace(to_ref) || heap_->non_moving_space_->HasAddress(to_ref))
67 << "from_ref=" << from_ref << " to_ref=" << to_ref;
68 return to_ref;
75 mirror::Object* to_ref = from_ref;
81 DCHECK_EQ(to_ref->GetReadBarrierPointer(), ReadBarrier::GrayPtr());
83 PushOntoMarkStack(to_ref);
85 return to_ref;