Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dload_store_analysis.h426 static bool CanReferencesAlias(ReferenceInfo* ref_info1, ReferenceInfo* ref_info2) { in CanReferencesAlias() argument
427 if (ref_info1 == ref_info2) { in CanReferencesAlias()
429 } else if (ref_info1->IsSingleton()) { in CanReferencesAlias()
433 } else if (!MayAliasWithPreexistenceChecking(ref_info1, ref_info2) || in CanReferencesAlias()
434 !MayAliasWithPreexistenceChecking(ref_info2, ref_info1)) { in CanReferencesAlias()
443 static bool MayAliasWithPreexistenceChecking(ReferenceInfo* ref_info1, ReferenceInfo* ref_info2) { in MayAliasWithPreexistenceChecking() argument
444 if (ref_info1->GetReference()->IsNewInstance() || ref_info1->GetReference()->IsNewArray()) { in MayAliasWithPreexistenceChecking()
448 return ref_info2->GetPosition() >= ref_info1->GetPosition(); in MayAliasWithPreexistenceChecking()