Searched refs:rti (Results 1 – 2 of 2) sorted by relevance
2787 static void CheckAgainstUpperBound(ReferenceTypeInfo rti, ReferenceTypeInfo upper_bound_rti) in CheckAgainstUpperBound() argument2789 if (rti.IsValid()) { in CheckAgainstUpperBound()2790 DCHECK(upper_bound_rti.IsSupertypeOf(rti)) in CheckAgainstUpperBound()2792 << " rti: " << rti; in CheckAgainstUpperBound()2793 DCHECK(!upper_bound_rti.GetTypeHandle()->CannotBeAssignedFromOtherTypes() || rti.IsExact()) in CheckAgainstUpperBound()2795 << " rti: " << rti; in CheckAgainstUpperBound()2799 void HInstruction::SetReferenceTypeInfo(ReferenceTypeInfo rti) { in SetReferenceTypeInfo() argument2803 DCHECK(rti.IsValid()) << "Invalid RTI for " << DebugName(); in SetReferenceTypeInfo()2807 CheckAgainstUpperBound(rti, AsBoundType()->GetUpperBound()); in SetReferenceTypeInfo()2810 reference_type_handle_ = rti.GetTypeHandle(); in SetReferenceTypeInfo()[all …]
250 bool CanArrayHold(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in CanArrayHold() argument254 return GetTypeHandle()->GetComponentType()->IsAssignableFrom(rti.GetTypeHandle().Get()); in CanArrayHold()257 bool CanArrayHoldValuesOf(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in CanArrayHoldValuesOf() argument261 if (!rti.IsArrayClass()) return false; in CanArrayHoldValuesOf()263 rti.GetTypeHandle()->GetComponentType()); in CanArrayHoldValuesOf()268 bool IsSupertypeOf(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in IsSupertypeOf() argument270 DCHECK(rti.IsValid()); in IsSupertypeOf()271 return GetTypeHandle()->IsAssignableFrom(rti.GetTypeHandle().Get()); in IsSupertypeOf()274 bool IsStrictSupertypeOf(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in IsStrictSupertypeOf() argument276 DCHECK(rti.IsValid()); in IsStrictSupertypeOf()[all …]