Home
last modified time | relevance | path

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

/art/runtime/
Dmethod_handles.cc130 Primitive::Type to_primitive = to->GetPrimitiveType(); in IsParameterTypeConvertible() local
132 DCHECK(to_primitive != Primitive::Type::kPrimVoid); in IsParameterTypeConvertible()
135 if (IsReferenceType(from_primitive) && IsReferenceType(to_primitive)) { in IsParameterTypeConvertible()
142 if (Primitive::IsWidenable(from_primitive, to_primitive)) { in IsParameterTypeConvertible()
147 if (IsReferenceType(to_primitive) && IsPrimitiveType(from_primitive)) { in IsParameterTypeConvertible()
152 if (IsPrimitiveType(to_primitive) && IsReferenceType(from_primitive)) { in IsParameterTypeConvertible()
158 if (Primitive::IsNumericType(to_primitive) && from->DescriptorEquals("Ljava/lang/Number;")) { in IsParameterTypeConvertible()
165 if (unboxed_type == to_primitive) { in IsParameterTypeConvertible()
172 return Primitive::IsWidenable(unboxed_type, to_primitive); in IsParameterTypeConvertible()