Home
last modified time | relevance | path

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

/art/runtime/entrypoints/portable/
Dportable_cast_entrypoints.cc50 mirror::Class* component_type = array_class->GetComponentType(); in art_portable_check_put_array_element_from_code() local
52 if (UNLIKELY(!component_type->IsAssignableFrom(element_class))) { in art_portable_check_put_array_element_from_code()
/art/compiler/dex/
Dverified_method.cc297 verifier::RegType& component_type = method_verifier->GetRegTypeCache() in GenerateSafeCastSet() local
299 is_safe_cast = component_type.IsStrictlyAssignableFrom(value_type); in GenerateSafeCastSet()
/art/runtime/verifier/
Dmethod_verifier.cc1906 RegType& component_type = reg_types_.GetComponentType(array_type, in CodeFlowVerifyInstruction() local
1908 DCHECK(!component_type.IsConflict()); in CodeFlowVerifyInstruction()
1909 if (component_type.IsNonZeroReferenceTypes()) { in CodeFlowVerifyInstruction()
1911 << component_type; in CodeFlowVerifyInstruction()
1919 size_t elem_width = Primitive::ComponentSize(component_type.GetPrimitiveType()); in CodeFlowVerifyInstruction()
3548 RegType& component_type = reg_types_.GetComponentType(array_type, class_loader_->Get()); in VerifyAGet() local
3549 if (!component_type.IsReferenceTypes() && !is_primitive) { in VerifyAGet()
3552 } else if (component_type.IsNonZeroReferenceTypes() && is_primitive) { in VerifyAGet()
3555 } else if (is_primitive && !insn_type.Equals(component_type) && in VerifyAGet()
3556 !((insn_type.IsInteger() && component_type.IsFloat()) || in VerifyAGet()
[all …]
/art/runtime/
Dclass_linker.cc3098 Handle<mirror::Class> component_type(hs.NewHandle(FindClass(self, descriptor + 1, class_loader))); in CreateArrayClass() local
3099 if (component_type.Get() == nullptr) { in CreateArrayClass()
3103 component_type.Assign(LookupClass(descriptor + 1, component_hash, class_loader.Get())); in CreateArrayClass()
3104 if (component_type.Get() == nullptr) { in CreateArrayClass()
3111 if (UNLIKELY(component_type->IsPrimitiveVoid())) { in CreateArrayClass()
3132 if (class_loader.Get() != component_type->GetClassLoader()) { in CreateArrayClass()
3133 mirror::Class* new_class = LookupClass(descriptor, hash, component_type->GetClassLoader()); in CreateArrayClass()
3173 new_class->SetComponentType(component_type.Get()); in CreateArrayClass()
3181 new_class->SetClassLoader(component_type->GetClassLoader()); in CreateArrayClass()
Dclass_linker_test.cc102 const std::string& component_type, in AssertArrayClass() argument
111 EXPECT_STREQ(component_type.c_str(), array->GetComponentType()->GetDescriptor(&temp)); in AssertArrayClass()
/art/runtime/gc/
Dheap.cc562 mirror::Class* component_type = klass->GetComponentType<kVerifyNone>(); in SafeGetClassDescriptor() local
563 if (IsValidContinuousSpaceObjectAddress(component_type) && klass->IsArrayClass<kVerifyNone>()) { in SafeGetClassDescriptor()
565 result += SafeGetClassDescriptor(component_type); in SafeGetClassDescriptor()