Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dinstruction_simplifier.cc1069 static inline bool TryReplaceFieldOrArrayGetType(HInstruction* maybe_get, DataType::Type new_type) { in TryReplaceFieldOrArrayGetType() argument
1070 if (maybe_get->IsInstanceFieldGet()) { in TryReplaceFieldOrArrayGetType()
1071 maybe_get->AsInstanceFieldGet()->SetType(new_type); in TryReplaceFieldOrArrayGetType()
1073 } else if (maybe_get->IsStaticFieldGet()) { in TryReplaceFieldOrArrayGetType()
1074 maybe_get->AsStaticFieldGet()->SetType(new_type); in TryReplaceFieldOrArrayGetType()
1076 } else if (maybe_get->IsArrayGet() && !maybe_get->AsArrayGet()->IsStringCharAt()) { in TryReplaceFieldOrArrayGetType()
1077 maybe_get->AsArrayGet()->SetType(new_type); in TryReplaceFieldOrArrayGetType()