Home
last modified time | relevance | path

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

/art/runtime/entrypoints/portable/
Dportable_cast_entrypoints.cc24 mirror::Class* src_type) in art_portable_is_assignable_from_code() argument
27 DCHECK(src_type != NULL); in art_portable_is_assignable_from_code()
28 return dest_type->IsAssignableFrom(src_type) ? 1 : 0; in art_portable_is_assignable_from_code()
32 mirror::Class* src_type) in art_portable_check_cast_from_code() argument
35 DCHECK(src_type->IsClass()) << PrettyClass(src_type); in art_portable_check_cast_from_code()
36 if (UNLIKELY(!dest_type->IsAssignableFrom(src_type))) { in art_portable_check_cast_from_code()
37 ThrowClassCastException(dest_type, src_type); in art_portable_check_cast_from_code()
/art/runtime/verifier/
Dregister_line.cc112 RegType& src_type = GetRegisterType(vsrc); in VerifyRegisterType() local
113 if (!(check_type.IsAssignableFrom(src_type))) { in VerifyRegisterType()
115 if (!check_type.IsNonZeroReferenceTypes() || !src_type.IsNonZeroReferenceTypes()) { in VerifyRegisterType()
118 } else if (check_type.IsUnresolvedTypes() || src_type.IsUnresolvedTypes()) { in VerifyRegisterType()
124 << src_type << " but expected " << check_type; in VerifyRegisterType()
129 if (!src_type.CheckWidePair(src_type_h)) { in VerifyRegisterType()
131 << src_type << "/" << src_type_h; in VerifyRegisterType()
146 RegType& src_type = GetRegisterType(vsrc); in VerifyRegisterTypeWide() local
147 if (!check_type1.IsAssignableFrom(src_type)) { in VerifyRegisterTypeWide()
148 verifier_->Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "register v" << vsrc << " has type " << src_type in VerifyRegisterTypeWide()
[all …]
Dregister_line.h184 RegType& src_type)
194 RegType& src_type)
251 RegType& dst_type, RegType& src_type,
Dmethod_verifier.cc1590 RegType& src_type = work_line_->GetRegisterType(vregA); in CodeFlowVerifyInstruction() local
1591 bool use_src = ((return_type.IsBoolean() && src_type.IsByte()) || in CodeFlowVerifyInstruction()
1594 src_type.IsInteger())); in CodeFlowVerifyInstruction()
1597 work_line_->VerifyRegisterType(vregA, use_src ? src_type : return_type); in CodeFlowVerifyInstruction()
3230 RegType& src_type = work_line_->GetRegisterType(get_reg); in VerifyInvocationArgsFromIterator() local
3231 if (!src_type.IsIntegralTypes()) { in VerifyInvocationArgsFromIterator()
3232 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "register v" << get_reg << " has type " << src_type in VerifyInvocationArgsFromIterator()
/art/runtime/entrypoints/quick/
Dquick_throw_entrypoints.cc102 extern "C" void artThrowClassCastException(mirror::Class* dest_type, mirror::Class* src_type, in artThrowClassCastException() argument
106 CHECK(!dest_type->IsAssignableFrom(src_type)); in artThrowClassCastException()
107 ThrowClassCastException(dest_type, src_type); in artThrowClassCastException()
/art/runtime/
Dcommon_throws.h60 void ThrowClassCastException(mirror::Class* dest_type, mirror::Class* src_type)
Dcommon_throws.cc121 void ThrowClassCastException(mirror::Class* dest_type, mirror::Class* src_type) { in ThrowClassCastException() argument
124 PrettyDescriptor(src_type).c_str(), in ThrowClassCastException()
/art/compiler/llvm/
Dintrinsic_func_list.def241 // void art_portable_check_cast(JavaObject* dest_type, JavaObject* src_type)
255 // int art_portable_is_assignable(JavaObject* dest_type, JavaObject* src_type)