Home
last modified time | relevance | path

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

/art/runtime/verifier/
Dregister_line-inl.h135 const RegType& src_type = GetRegisterType(verifier, vsrc); in VerifyRegisterType() local
136 if (UNLIKELY(!check_type.IsAssignableFrom(src_type, verifier))) { in VerifyRegisterType()
138 if (!check_type.IsNonZeroReferenceTypes() || !src_type.IsNonZeroReferenceTypes()) { in VerifyRegisterType()
141 } else if (check_type.IsUninitializedTypes() || src_type.IsUninitializedTypes()) { in VerifyRegisterType()
144 } else if (check_type.IsUnresolvedTypes() || src_type.IsUnresolvedTypes()) { in VerifyRegisterType()
150 << src_type << " but expected " << check_type; in VerifyRegisterType()
154 src_type.IsNonZeroReferenceTypes() && in VerifyRegisterType()
155 !src_type.IsUnresolvedTypes() && in VerifyRegisterType()
156 src_type.HasClass()) { in VerifyRegisterType()
157 DumpB77342775DebugData(check_type.GetClass(), src_type.GetClass()); in VerifyRegisterType()
[all …]
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()
199 const RegType& dst_type, const RegType& src_type) { in CheckUnaryOp() argument
200 if (VerifyRegisterType(verifier, inst->VRegB_12x(), src_type)) { in CheckUnaryOp()
215 const RegType& src_type) { in CheckUnaryOpToWide() argument
216 if (VerifyRegisterType(verifier, inst->VRegB_12x(), src_type)) { in CheckUnaryOpToWide()
315 const RegType& dst_type, const RegType& src_type, in CheckLiteralOp() argument
[all …]
Dregister_line.h243 const RegType& src_type)
258 const RegType& src_type)
336 const RegType& src_type,
Dmethod_verifier.cc2177 const RegType& src_type = work_line_->GetRegisterType(this, vregA); in CodeFlowVerifyInstruction() local
2178 bool use_src = ((return_type.IsBoolean() && src_type.IsByte()) || in CodeFlowVerifyInstruction()
2181 src_type.IsInteger())); in CodeFlowVerifyInstruction()
2184 work_line_->VerifyRegisterType(this, vregA, use_src ? src_type : return_type); in CodeFlowVerifyInstruction()
4127 const RegType& src_type = work_line_->GetRegisterType(this, get_reg); in VerifyInvocationArgsFromIterator() local
4128 if (!src_type.IsIntegralTypes()) { in VerifyInvocationArgsFromIterator()
4129 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "register v" << get_reg << " has type " << src_type in VerifyInvocationArgsFromIterator()
/art/runtime/entrypoints/quick/
Dquick_throw_entrypoints.cc114 mirror::Class* src_type, in artThrowClassCastException() argument
132 CHECK(!dest_type->IsAssignableFrom(src_type)) in artThrowClassCastException()
135 << " <: " << src_type->PrettyDescriptor() << ";" << src_type->Depth() in artThrowClassCastException()
136 << "/" << src_type->GetField32(mirror::Class::StatusOffset()); in artThrowClassCastException()
138 DCHECK(!dest_type->IsAssignableFrom(src_type)); in artThrowClassCastException()
139 ThrowClassCastException(dest_type, src_type); in artThrowClassCastException()
/art/test/712-varhandle-invocations/util-src/
Dgenerate_java.py101 for src_type in WIDENING_CONVERSIONS:
102 if var_type in WIDENING_CONVERSIONS[src_type]:
103 types_that_widen.add(src_type)
/art/runtime/
Dcommon_throws.cc153 void ThrowClassCastException(ObjPtr<mirror::Class> dest_type, ObjPtr<mirror::Class> src_type) { in ThrowClassCastException() argument
154 DumpB77342775DebugData(dest_type, src_type); in ThrowClassCastException()
157 mirror::Class::PrettyDescriptor(src_type).c_str(), in ThrowClassCastException()
Dcommon_throws.h78 void ThrowClassCastException(ObjPtr<mirror::Class> dest_type, ObjPtr<mirror::Class> src_type)
/art/runtime/interpreter/
Dunstarted_runtime.cc797 ObjPtr<mirror::Class> src_type = shadow_frame->GetVRegReference(arg_offset)->GetClass()-> in UnstartedSystemArraycopy() local
800 if (!src_type->IsPrimitive()) { in UnstartedSystemArraycopy()
840 } else if (src_type->IsPrimitiveByte()) { in UnstartedSystemArraycopy()
842 } else if (src_type->IsPrimitiveChar()) { in UnstartedSystemArraycopy()
844 } else if (src_type->IsPrimitiveInt()) { in UnstartedSystemArraycopy()
848 src_type->PrettyDescriptor().c_str()); in UnstartedSystemArraycopy()