Home
last modified time | relevance | path

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

/art/runtime/
Dmethod_handles.cc127 Primitive::Type to_primitive = to->GetPrimitiveType(); in IsParameterTypeConvertible() local
129 DCHECK(to_primitive != Primitive::Type::kPrimVoid); in IsParameterTypeConvertible()
132 if (IsReferenceType(from_primitive) && IsReferenceType(to_primitive)) { in IsParameterTypeConvertible()
139 if (Primitive::IsWidenable(from_primitive, to_primitive)) { in IsParameterTypeConvertible()
144 if (IsReferenceType(to_primitive) && IsPrimitiveType(from_primitive)) { in IsParameterTypeConvertible()
149 if (IsPrimitiveType(to_primitive) && IsReferenceType(from_primitive)) { in IsParameterTypeConvertible()
155 if (Primitive::IsNumericType(to_primitive) && from->DescriptorEquals("Ljava/lang/Number;")) { in IsParameterTypeConvertible()
162 if (unboxed_type == to_primitive) { in IsParameterTypeConvertible()
169 return Primitive::IsWidenable(unboxed_type, to_primitive); in IsParameterTypeConvertible()