Home
last modified time | relevance | path

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

/art/runtime/verifier/
Dregister_line-inl.h133 const RegType& src_type = GetRegisterType(verifier, vsrc); in VerifyRegisterType() local
134 if (UNLIKELY(!check_type.IsAssignableFrom(src_type, verifier))) { in VerifyRegisterType()
136 if (!check_type.IsNonZeroReferenceTypes() || !src_type.IsNonZeroReferenceTypes()) { in VerifyRegisterType()
139 } else if (check_type.IsUninitializedTypes() || src_type.IsUninitializedTypes()) { in VerifyRegisterType()
142 } else if (check_type.IsUnresolvedTypes() || src_type.IsUnresolvedTypes()) { in VerifyRegisterType()
148 << src_type << " but expected " << check_type; in VerifyRegisterType()
153 if (UNLIKELY(!src_type.CheckWidePair(src_type_h))) { in VerifyRegisterType()
155 << src_type << "/" << src_type_h; in VerifyRegisterType()
Dregister_line.cc78 const RegType& src_type = GetRegisterType(verifier, vsrc); in VerifyRegisterTypeWide() local
79 if (!check_type1.IsAssignableFrom(src_type, verifier)) { in VerifyRegisterTypeWide()
80 verifier->Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "register v" << vsrc << " has type " << src_type in VerifyRegisterTypeWide()
85 if (!src_type.CheckWidePair(src_type_h)) { in VerifyRegisterTypeWide()
87 << src_type << "/" << src_type_h; in VerifyRegisterTypeWide()
197 const RegType& dst_type, const RegType& src_type) { in CheckUnaryOp() argument
198 if (VerifyRegisterType(verifier, inst->VRegB_12x(), src_type)) { in CheckUnaryOp()
213 const RegType& src_type) { in CheckUnaryOpToWide() argument
214 if (VerifyRegisterType(verifier, inst->VRegB_12x(), src_type)) { in CheckUnaryOpToWide()
313 const RegType& dst_type, const RegType& src_type, in CheckLiteralOp() argument
[all …]
Dregister_line.h230 const RegType& src_type)
245 const RegType& src_type)
323 const RegType& src_type,
Dmethod_verifier.cc2181 const RegType& src_type = work_line_->GetRegisterType(this, vregA); in CodeFlowVerifyInstruction() local
2182 bool use_src = ((return_type.IsBoolean() && src_type.IsByte()) || in CodeFlowVerifyInstruction()
2185 src_type.IsInteger())); in CodeFlowVerifyInstruction()
2188 work_line_->VerifyRegisterType(this, vregA, use_src ? src_type : return_type); in CodeFlowVerifyInstruction()
4086 const RegType& src_type = work_line_->GetRegisterType(this, get_reg); in VerifyInvocationArgsFromIterator() local
4087 if (!src_type.IsIntegralTypes()) { in VerifyInvocationArgsFromIterator()
4088 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "register v" << get_reg << " has type " << src_type in VerifyInvocationArgsFromIterator()
/art/runtime/entrypoints/quick/
Dquick_throw_entrypoints.cc110 mirror::Class* src_type, in artThrowClassCastException() argument
114 DCHECK(!dest_type->IsAssignableFrom(src_type)); in artThrowClassCastException()
115 ThrowClassCastException(dest_type, src_type); in artThrowClassCastException()
/art/runtime/
Dcommon_throws.h77 void ThrowClassCastException(ObjPtr<mirror::Class> dest_type, ObjPtr<mirror::Class> src_type)
Dcommon_throws.cc147 void ThrowClassCastException(ObjPtr<mirror::Class> dest_type, ObjPtr<mirror::Class> src_type) { in ThrowClassCastException() argument
150 mirror::Class::PrettyDescriptor(src_type).c_str(), in ThrowClassCastException()
/art/runtime/interpreter/
Dunstarted_runtime.cc798 mirror::Class* src_type = shadow_frame->GetVRegReference(arg_offset)->GetClass()-> in UnstartedSystemArraycopy() local
801 if (!src_type->IsPrimitive()) { in UnstartedSystemArraycopy()
841 } else if (src_type->IsPrimitiveByte()) { in UnstartedSystemArraycopy()
843 } else if (src_type->IsPrimitiveChar()) { in UnstartedSystemArraycopy()
845 } else if (src_type->IsPrimitiveInt()) { in UnstartedSystemArraycopy()
849 src_type->PrettyDescriptor().c_str()); in UnstartedSystemArraycopy()