Home
last modified time | relevance | path

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

/art/runtime/verifier/
Dregister_line-inl.h131 const RegType& src_type = GetRegisterType(verifier, vsrc); in VerifyRegisterType() local
132 if (UNLIKELY(!check_type.IsAssignableFrom(src_type))) { in VerifyRegisterType()
134 if (!check_type.IsNonZeroReferenceTypes() || !src_type.IsNonZeroReferenceTypes()) { in VerifyRegisterType()
137 } else if (check_type.IsUnresolvedTypes() || src_type.IsUnresolvedTypes()) { in VerifyRegisterType()
143 << src_type << " but expected " << check_type; in VerifyRegisterType()
148 if (UNLIKELY(!src_type.CheckWidePair(src_type_h))) { in VerifyRegisterType()
150 << src_type << "/" << src_type_h; in VerifyRegisterType()
Dregister_line.cc75 const RegType& src_type = GetRegisterType(verifier, vsrc); in VerifyRegisterTypeWide() local
76 if (!check_type1.IsAssignableFrom(src_type)) { in VerifyRegisterTypeWide()
77 verifier->Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "register v" << vsrc << " has type " << src_type in VerifyRegisterTypeWide()
82 if (!src_type.CheckWidePair(src_type_h)) { in VerifyRegisterTypeWide()
84 << src_type << "/" << src_type_h; in VerifyRegisterTypeWide()
202 const RegType& dst_type, const RegType& src_type) { in CheckUnaryOp() argument
203 if (VerifyRegisterType(verifier, inst->VRegB_12x(), src_type)) { in CheckUnaryOp()
218 const RegType& src_type) { in CheckUnaryOpToWide() argument
219 if (VerifyRegisterType(verifier, inst->VRegB_12x(), src_type)) { in CheckUnaryOpToWide()
314 const RegType& dst_type, const RegType& src_type, in CheckLiteralOp() argument
[all …]
Dregister_line.h201 const RegType& src_type)
211 const RegType& src_type)
268 const RegType& dst_type, const RegType& src_type,
Dmethod_verifier.cc1757 const RegType& src_type = work_line_->GetRegisterType(this, vregA); in CodeFlowVerifyInstruction() local
1758 bool use_src = ((return_type.IsBoolean() && src_type.IsByte()) || in CodeFlowVerifyInstruction()
1761 src_type.IsInteger())); in CodeFlowVerifyInstruction()
1764 work_line_->VerifyRegisterType(this, vregA, use_src ? src_type : return_type); in CodeFlowVerifyInstruction()
3421 const RegType& src_type = work_line_->GetRegisterType(this, get_reg); in VerifyInvocationArgsFromIterator() local
3422 if (!src_type.IsIntegralTypes()) { in VerifyInvocationArgsFromIterator()
3423 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "register v" << get_reg << " has type " << src_type in VerifyInvocationArgsFromIterator()
/art/runtime/entrypoints/quick/
Dquick_throw_entrypoints.cc95 mirror::Class* src_type, in artThrowClassCastException() argument
99 DCHECK(!dest_type->IsAssignableFrom(src_type)); in artThrowClassCastException()
100 ThrowClassCastException(dest_type, src_type); in artThrowClassCastException()
/art/compiler/dex/
Dtype_inference.cc86 bool TypeInference::Type::MergeArrayConflict(Type src_type) { in MergeArrayConflict() argument
88 DCHECK_NE(ArrayDepth(), src_type.ArrayDepth()); in MergeArrayConflict()
89 DCHECK_GE(std::min(ArrayDepth(), src_type.ArrayDepth()), 1u); in MergeArrayConflict()
92 (src_type.ArrayDepth() == 1u && (src_type.raw_bits_ & kFlagArrayWide) != 0u); in MergeArrayConflict()
99 bool TypeInference::Type::MergeStrong(Type src_type) { in MergeStrong() argument
100 bool changed = MergeNonArrayFlags(src_type); in MergeStrong()
101 if (src_type.ArrayDepth() != 0u) { in MergeStrong()
104 DCHECK_NE(src_type.raw_bits_ & kFlagRef, 0u); in MergeStrong()
105 raw_bits_ |= src_type.raw_bits_ & (~kMaskNonArray | kFlagRef); in MergeStrong()
107 } else if (ArrayDepth() == src_type.ArrayDepth()) { in MergeStrong()
[all …]
Dtype_inference.h250 bool MergeNonArrayFlags(Type src_type) { in MergeNonArrayFlags()
251 return MergeBits(src_type, kMaskNonArray); in MergeNonArrayFlags()
255 bool MergeArrayConflict(Type src_type);
258 bool MergeStrong(Type src_type);
261 bool MergeWeak(Type src_type);
341 bool MergeBits(Type src_type, uint32_t mask) { in MergeBits()
342 uint32_t new_bits = raw_bits_ | (src_type.raw_bits_ & mask); in MergeBits()
/art/runtime/
Dcommon_throws.h59 void ThrowClassCastException(mirror::Class* dest_type, mirror::Class* src_type)
Dcommon_throws.cc111 void ThrowClassCastException(mirror::Class* dest_type, mirror::Class* src_type) { in ThrowClassCastException() argument
114 PrettyDescriptor(src_type).c_str(), in ThrowClassCastException()
/art/runtime/interpreter/
Dunstarted_runtime.cc350 mirror::Class* src_type = shadow_frame->GetVRegReference(arg_offset)->GetClass()-> in UnstartedSystemArraycopy() local
353 if (!src_type->IsPrimitive()) { in UnstartedSystemArraycopy()
366 if (src_type != trg_type) { in UnstartedSystemArraycopy()
393 } else if (src_type->IsPrimitiveChar()) { in UnstartedSystemArraycopy()
395 } else if (src_type->IsPrimitiveInt()) { in UnstartedSystemArraycopy()
399 PrettyDescriptor(src_type).c_str()); in UnstartedSystemArraycopy()