Home
last modified time | relevance | path

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

/art/compiler/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.cc1443 ArtField* resolved_field; in ComputeInstanceFieldInfo() local
1448 resolved_field = ResolveField(soa, dex_cache, class_loader, field_idx, /* is_static */ false); in ComputeInstanceFieldInfo()
1449 referrer_class = resolved_field != nullptr in ComputeInstanceFieldInfo()
1453 if (resolved_field != nullptr && referrer_class != nullptr) { in ComputeInstanceFieldInfo()
1455 dex_cache.Get(), referrer_class, resolved_field, field_idx); in ComputeInstanceFieldInfo()
1459 return can_link ? resolved_field : nullptr; in ComputeInstanceFieldInfo()
1466 ArtField* resolved_field = ComputeInstanceFieldInfo(field_idx, mUnit, is_put, soa); in ComputeInstanceFieldInfo() local
1468 if (resolved_field == nullptr) { in ComputeInstanceFieldInfo()
1474 *is_volatile = resolved_field->IsVolatile(); in ComputeInstanceFieldInfo()
1475 *field_offset = resolved_field->GetOffset(); in ComputeInstanceFieldInfo()
Dcompiler_driver.h253 ArtField* resolved_field,
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h334 ArtField* resolved_field; in FindFieldFromCode() local
348 resolved_field = class_linker->ResolveFieldJLS(field_idx, in FindFieldFromCode()
354 resolved_field = class_linker->ResolveField(field_idx, referrer, is_static); in FindFieldFromCode()
357 if (UNLIKELY(resolved_field == nullptr)) { in FindFieldFromCode()
361 ObjPtr<mirror::Class> fields_class = resolved_field->GetDeclaringClass(); in FindFieldFromCode()
363 if (UNLIKELY(resolved_field->IsStatic() != is_static)) { in FindFieldFromCode()
364 ThrowIncompatibleClassChangeErrorField(resolved_field, is_static, referrer); in FindFieldFromCode()
369 resolved_field, in FindFieldFromCode()
375 if (UNLIKELY(is_set && resolved_field->IsFinal() && (fields_class != referring_class))) { in FindFieldFromCode()
376 ThrowIllegalAccessErrorFinalField(referrer, resolved_field); in FindFieldFromCode()
[all …]
/art/runtime/mirror/
Dfield-inl.h57 auto* resolved_field = field->GetDexCache()->GetResolvedField(dex_field_index, kPointerSize); in CreateFromArtField() local
65 if (resolved_field != nullptr) { in CreateFromArtField()
66 DCHECK_EQ(resolved_field, field); in CreateFromArtField()
/art/compiler/optimizing/
Dinstruction_builder.cc1403 ArtField* resolved_field = ResolveField(field_index, /* is_static */ false, is_put); in BuildInstanceFieldAccess() local
1408 HInstruction* object = (resolved_field == nullptr) in BuildInstanceFieldAccess()
1416 if (resolved_field == nullptr) { in BuildInstanceFieldAccess()
1425 uint16_t class_def_index = resolved_field->GetDeclaringClass()->GetDexClassDefIndex(); in BuildInstanceFieldAccess()
1428 resolved_field, in BuildInstanceFieldAccess()
1430 resolved_field->GetOffset(), in BuildInstanceFieldAccess()
1431 resolved_field->IsVolatile(), in BuildInstanceFieldAccess()
1440 if (resolved_field == nullptr) { in BuildInstanceFieldAccess()
1448 uint16_t class_def_index = resolved_field->GetDeclaringClass()->GetDexClassDefIndex(); in BuildInstanceFieldAccess()
1450 resolved_field, in BuildInstanceFieldAccess()
[all …]
Dinliner.cc1643 ArtField* resolved_field = in CreateInstanceFieldGet() local
1645 DCHECK(resolved_field != nullptr); in CreateInstanceFieldGet()
1648 resolved_field, in CreateInstanceFieldGet()
1649 DataType::FromShorty(resolved_field->GetTypeDescriptor()[0]), in CreateInstanceFieldGet()
1650 resolved_field->GetOffset(), in CreateInstanceFieldGet()
1651 resolved_field->IsVolatile(), in CreateInstanceFieldGet()
1653 resolved_field->GetDeclaringClass()->GetDexClassDefIndex(), in CreateInstanceFieldGet()
1678 ArtField* resolved_field = in CreateInstanceFieldSet() local
1680 DCHECK(resolved_field != nullptr); in CreateInstanceFieldSet()
1684 *is_final = resolved_field->IsFinal(); in CreateInstanceFieldSet()
[all …]
/art/runtime/
Dclass_linker-inl.h354 ArtField* resolved_field = referrer->GetDexCache<kWithoutReadBarrier>()->GetResolvedField( in ResolveField() local
356 if (UNLIKELY(resolved_field == nullptr)) { in ResolveField()
361 resolved_field = ResolveField(field_idx, dex_cache, class_loader, is_static); in ResolveField()
365 return resolved_field; in ResolveField()
Dcommon_throws.h147 void ThrowIncompatibleClassChangeErrorField(ArtField* resolved_field,
Dcommon_throws.cc307 void ThrowIncompatibleClassChangeErrorField(ArtField* resolved_field, bool is_static, in ThrowIncompatibleClassChangeErrorField() argument
310 msg << "Expected '" << ArtField::PrettyField(resolved_field) << "' to be a " in ThrowIncompatibleClassChangeErrorField()
Dclass_linker.cc4840 ArtField* resolved_field = dex_cache->GetResolvedField(field_idx, image_pointer_size_); in InitializeClass() local
4841 if (resolved_field == nullptr) { in InitializeClass()
4847 DCHECK_EQ(field, resolved_field); in InitializeClass()