Home
last modified time | relevance | path

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

/art/compiler/driver/
Dcompiler_driver-inl.h66 mirror::ArtField* resolved_field = mUnit->GetClassLinker()->ResolveField( in ResolveField() local
68 DCHECK_EQ(resolved_field == nullptr, soa.Self()->IsExceptionPending()); in ResolveField()
69 if (UNLIKELY(resolved_field == nullptr)) { in ResolveField()
74 if (UNLIKELY(resolved_field->IsStatic() != is_static)) { in ResolveField()
79 return resolved_field; in ResolveField()
83 mirror::ArtField* resolved_field, const DexFile** declaring_dex_file, in GetResolvedFieldDexFileLocation() argument
85 mirror::Class* declaring_class = resolved_field->GetDeclaringClass(); in GetResolvedFieldDexFileLocation()
88 *declaring_field_idx = resolved_field->GetDexFieldIndex(); in GetResolvedFieldDexFileLocation()
97 mirror::ArtField* resolved_field, uint16_t field_idx) { in IsFastInstanceField() argument
98 DCHECK(!resolved_field->IsStatic()); in IsFastInstanceField()
[all …]
Dcompiler_driver.cc1068 mirror::ArtField* resolved_field; in ComputeInstanceFieldInfo() local
1081 resolved_field = resolved_field_handle.Get(); in ComputeInstanceFieldInfo()
1085 if (resolved_field != nullptr && referrer_class != nullptr) { in ComputeInstanceFieldInfo()
1087 dex_cache, referrer_class, resolved_field, field_idx); in ComputeInstanceFieldInfo()
1091 return can_link ? resolved_field : nullptr; in ComputeInstanceFieldInfo()
1099 Handle<mirror::ArtField> resolved_field = in ComputeInstanceFieldInfo() local
1102 if (resolved_field.Get() == nullptr) { in ComputeInstanceFieldInfo()
1108 *is_volatile = resolved_field->IsVolatile(); in ComputeInstanceFieldInfo()
1109 *field_offset = resolved_field->GetOffset(); in ComputeInstanceFieldInfo()
1120 mirror::ArtField* resolved_field; in ComputeStaticFieldInfo() local
[all …]
Dcompiler_driver.h246 mirror::ArtField* resolved_field, const DexFile** declaring_dex_file,
255 mirror::ArtField* resolved_field, uint16_t field_idx)
263 mirror::ArtField* resolved_field, uint16_t field_idx, MemberOffset* field_offset,
/art/compiler/dex/
Dmir_field_info.cc57 mirror::ArtField* resolved_field = in Resolve() local
59 if (UNLIKELY(resolved_field == nullptr)) { in Resolve()
62 compiler_driver->GetResolvedFieldDexFileLocation(resolved_field, in Resolve()
64 bool is_volatile = compiler_driver->IsFieldVolatile(resolved_field); in Resolve()
65 it->field_offset_ = resolved_field->GetOffset(); in Resolve()
67 dex_cache.Get(), referrer_class.Get(), resolved_field, field_idx); in Resolve()
104 mirror::ArtField* resolved_field = in Resolve() local
106 if (UNLIKELY(resolved_field == nullptr)) { in Resolve()
109 compiler_driver->GetResolvedFieldDexFileLocation(resolved_field, in Resolve()
111 bool is_volatile = compiler_driver->IsFieldVolatile(resolved_field) ? 1u : 0u; in Resolve()
[all …]
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h275 mirror::ArtField* resolved_field = class_linker->ResolveField(field_idx, referrer, is_static); in FindFieldFromCode() local
276 if (UNLIKELY(resolved_field == nullptr)) { in FindFieldFromCode()
280 mirror::Class* fields_class = resolved_field->GetDeclaringClass(); in FindFieldFromCode()
282 if (UNLIKELY(resolved_field->IsStatic() != is_static)) { in FindFieldFromCode()
283 ThrowIncompatibleClassChangeErrorField(resolved_field, is_static, referrer); in FindFieldFromCode()
287 if (UNLIKELY(!referring_class->CheckResolvedFieldAccess(fields_class, resolved_field, in FindFieldFromCode()
292 if (UNLIKELY(is_set && resolved_field->IsFinal() && (fields_class != referring_class))) { in FindFieldFromCode()
293 ThrowIllegalAccessErrorFinalField(referrer, resolved_field); in FindFieldFromCode()
296 if (UNLIKELY(resolved_field->IsPrimitiveType() != is_primitive || in FindFieldFromCode()
297 resolved_field->FieldSize() != expected_size)) { in FindFieldFromCode()
[all …]
/art/runtime/
Dclass_linker-inl.h145 mirror::ArtField* resolved_field = GetResolvedField(field_idx, declaring_class); in ResolveField() local
146 if (UNLIKELY(resolved_field == NULL)) { in ResolveField()
151 resolved_field = ResolveField(dex_file, field_idx, dex_cache, class_loader, is_static); in ResolveField()
155 return resolved_field; in ResolveField()
Dcommon_throws.h116 void ThrowIncompatibleClassChangeErrorField(mirror::ArtField* resolved_field, bool is_static,
Dcommon_throws.cc240 void ThrowIncompatibleClassChangeErrorField(mirror::ArtField* resolved_field, bool is_static, in ThrowIncompatibleClassChangeErrorField() argument
243 msg << "Expected '" << PrettyField(resolved_field) << "' to be a " in ThrowIncompatibleClassChangeErrorField()
Dclass_linker.cc4218 mirror::ArtField* resolved_field = dex_cache->GetResolvedField(field_idx); in InitializeClass() local
4219 if (resolved_field == nullptr) { in InitializeClass()
4222 DCHECK_EQ(field, resolved_field); in InitializeClass()
/art/compiler/optimizing/
Dbuilder.cc390 Handle<mirror::ArtField> resolved_field(hs.NewHandle( in BuildFieldAccess() local
393 if (resolved_field.Get() == nullptr) { in BuildFieldAccess()
396 if (resolved_field->IsVolatile()) { in BuildFieldAccess()
400 Primitive::Type field_type = resolved_field->GetTypeAsPrimitiveType(); in BuildFieldAccess()
416 resolved_field->GetOffset())); in BuildFieldAccess()
421 resolved_field->GetOffset())); in BuildFieldAccess()