Home
last modified time | relevance | path

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

/art/dex2oat/driver/
Dcompiler_driver-inl.h70 ArtField* resolved_field = Runtime::Current()->GetClassLinker()->ResolveField( in ResolveField() local
72 DCHECK_EQ(resolved_field == nullptr, soa.Self()->IsExceptionPending()); in ResolveField()
73 if (UNLIKELY(resolved_field == nullptr)) { in ResolveField()
78 if (UNLIKELY(resolved_field->IsStatic() != is_static)) { in ResolveField()
83 return resolved_field; in ResolveField()
89 ArtField* resolved_field, in IsFastInstanceField() argument
91 DCHECK(!resolved_field->IsStatic()); in IsFastInstanceField()
92 ObjPtr<mirror::Class> fields_class = resolved_field->GetDeclaringClass(); in IsFastInstanceField()
95 resolved_field, in IsFastInstanceField()
98 bool fast_put = fast_get && (!resolved_field->IsFinal() || fields_class == referrer_class); in IsFastInstanceField()
Dcompiler_driver.h164 ArtField* resolved_field,
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h330 ArtField* resolved_field; in FindFieldFromCode() local
344 resolved_field = class_linker->ResolveFieldJLS(field_idx, in FindFieldFromCode()
350 resolved_field = class_linker->ResolveField(field_idx, referrer, is_static); in FindFieldFromCode()
353 if (UNLIKELY(resolved_field == nullptr)) { in FindFieldFromCode()
357 ObjPtr<mirror::Class> fields_class = resolved_field->GetDeclaringClass(); in FindFieldFromCode()
359 if (UNLIKELY(resolved_field->IsStatic() != is_static)) { in FindFieldFromCode()
360 ThrowIncompatibleClassChangeErrorField(resolved_field, is_static, referrer); in FindFieldFromCode()
365 resolved_field, in FindFieldFromCode()
371 if (UNLIKELY(is_set && resolved_field->IsFinal() && (fields_class != referring_class))) { in FindFieldFromCode()
372 ThrowIllegalAccessErrorFinalField(referrer, resolved_field); in FindFieldFromCode()
[all …]
/art/runtime/mirror/
Dfield-inl.h73 auto* resolved_field = field->GetDexCache()->GetResolvedField(dex_field_index, kPointerSize); in CreateFromArtField() local
81 if (resolved_field != nullptr) { in CreateFromArtField()
82 DCHECK_EQ(resolved_field, field); in CreateFromArtField()
/art/compiler/optimizing/
Dinliner.cc1677 ArtField* resolved_field = in CreateInstanceFieldGet() local
1679 DCHECK(resolved_field != nullptr); in CreateInstanceFieldGet()
1682 resolved_field, in CreateInstanceFieldGet()
1683 DataType::FromShorty(resolved_field->GetTypeDescriptor()[0]), in CreateInstanceFieldGet()
1684 resolved_field->GetOffset(), in CreateInstanceFieldGet()
1685 resolved_field->IsVolatile(), in CreateInstanceFieldGet()
1687 resolved_field->GetDeclaringClass()->GetDexClassDefIndex(), in CreateInstanceFieldGet()
1712 ArtField* resolved_field = in CreateInstanceFieldSet() local
1714 DCHECK(resolved_field != nullptr); in CreateInstanceFieldSet()
1718 *is_final = resolved_field->IsFinal(); in CreateInstanceFieldSet()
[all …]
/art/runtime/
Dclass_linker-inl.h419 ArtField* resolved_field = referrer->GetDexCache<kWithoutReadBarrier>()->GetResolvedField( in ResolveField() local
421 if (UNLIKELY(resolved_field == nullptr)) { in ResolveField()
426 resolved_field = ResolveField(field_idx, dex_cache, class_loader, is_static); in ResolveField()
430 return resolved_field; in ResolveField()
Dcommon_throws.h148 void ThrowIncompatibleClassChangeErrorField(ArtField* resolved_field,
Dcommon_throws.cc305 void ThrowIncompatibleClassChangeErrorField(ArtField* resolved_field, bool is_static, in ThrowIncompatibleClassChangeErrorField() argument
308 msg << "Expected '" << ArtField::PrettyField(resolved_field) << "' to be a " in ThrowIncompatibleClassChangeErrorField()