Home
last modified time | relevance | path

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

/art/compiler/dex/
Dmir_field_info.cc59 ArtField* resolved_field; in Resolve() local
62 resolved_field = compiler_driver->ResolveField(soa, dex_cache, class_loader, mUnit, in Resolve()
73 resolved_field = compiler_driver->ResolveFieldWithDexFile( in Resolve()
76 CHECK(resolved_field != nullptr); in Resolve()
78 if (UNLIKELY(resolved_field == nullptr)) { in Resolve()
81 compiler_driver->GetResolvedFieldDexFileLocation(resolved_field, in Resolve()
83 bool is_volatile = compiler_driver->IsFieldVolatile(resolved_field); in Resolve()
84 it->field_offset_ = compiler_driver->GetFieldOffset(resolved_field); in Resolve()
86 dex_cache.Get(), referrer_class.Get(), resolved_field, field_idx); in Resolve()
124 ArtField* resolved_field = in Resolve() local
[all …]
/art/compiler/driver/
Dcompiler_driver-inl.h73 ArtField* resolved_field = Runtime::Current()->GetClassLinker()->ResolveField( in ResolveFieldWithDexFile() local
75 DCHECK_EQ(resolved_field == nullptr, soa.Self()->IsExceptionPending()); in ResolveFieldWithDexFile()
76 if (UNLIKELY(resolved_field == nullptr)) { in ResolveFieldWithDexFile()
81 if (UNLIKELY(resolved_field->IsStatic() != is_static)) { in ResolveFieldWithDexFile()
86 return resolved_field; in ResolveFieldWithDexFile()
103 ArtField* resolved_field, const DexFile** declaring_dex_file, in GetResolvedFieldDexFileLocation() argument
105 mirror::Class* declaring_class = resolved_field->GetDeclaringClass(); in GetResolvedFieldDexFileLocation()
108 *declaring_field_idx = resolved_field->GetDexFieldIndex(); in GetResolvedFieldDexFileLocation()
121 ArtField* resolved_field, uint16_t field_idx) { in IsFastInstanceField() argument
122 DCHECK(!resolved_field->IsStatic()); in IsFastInstanceField()
[all …]
Dcompiler_driver.cc1260 ArtField* resolved_field; in ComputeInstanceFieldInfo() local
1269 resolved_field = in ComputeInstanceFieldInfo()
1271 referrer_class = resolved_field != nullptr in ComputeInstanceFieldInfo()
1276 if (resolved_field != nullptr && referrer_class != nullptr) { in ComputeInstanceFieldInfo()
1278 dex_cache, referrer_class, resolved_field, field_idx); in ComputeInstanceFieldInfo()
1282 return can_link ? resolved_field : nullptr; in ComputeInstanceFieldInfo()
1289 ArtField* resolved_field = ComputeInstanceFieldInfo(field_idx, mUnit, is_put, soa); in ComputeInstanceFieldInfo() local
1291 if (resolved_field == nullptr) { in ComputeInstanceFieldInfo()
1297 *is_volatile = resolved_field->IsVolatile(); in ComputeInstanceFieldInfo()
1298 *field_offset = resolved_field->GetOffset(); in ComputeInstanceFieldInfo()
[all …]
Dcompiler_driver.h260 ArtField* resolved_field, const DexFile** declaring_dex_file,
274 ArtField* resolved_field, uint16_t field_idx)
281 ArtField* resolved_field, uint16_t field_idx, uint32_t* storage_index)
297 bool IsStaticFieldInReferrerClass(mirror::Class* referrer_class, ArtField* resolved_field)
302 ArtField* resolved_field)
349 ArtField** resolved_field,
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h294 ArtField* resolved_field = class_linker->ResolveField(field_idx, referrer, is_static); in FindFieldFromCode() local
295 if (UNLIKELY(resolved_field == nullptr)) { in FindFieldFromCode()
299 mirror::Class* fields_class = resolved_field->GetDeclaringClass(); in FindFieldFromCode()
301 if (UNLIKELY(resolved_field->IsStatic() != is_static)) { in FindFieldFromCode()
302 ThrowIncompatibleClassChangeErrorField(resolved_field, is_static, referrer); in FindFieldFromCode()
306 if (UNLIKELY(!referring_class->CheckResolvedFieldAccess(fields_class, resolved_field, in FindFieldFromCode()
311 if (UNLIKELY(is_set && resolved_field->IsFinal() && (fields_class != referring_class))) { in FindFieldFromCode()
312 ThrowIllegalAccessErrorFinalField(referrer, resolved_field); in FindFieldFromCode()
315 if (UNLIKELY(resolved_field->IsPrimitiveType() != is_primitive || in FindFieldFromCode()
316 resolved_field->FieldSize() != expected_size)) { in FindFieldFromCode()
[all …]
/art/runtime/mirror/
Dfield-inl.h60 auto* resolved_field = field->GetDexCache()->GetResolvedField(dex_field_index, pointer_size); in CreateFromArtField() local
68 if (resolved_field != nullptr) { in CreateFromArtField()
69 DCHECK_EQ(resolved_field, field); in CreateFromArtField()
/art/runtime/
Dclass_linker-inl.h145 ArtField* resolved_field = GetResolvedField(field_idx, declaring_class); in ResolveField() local
146 if (UNLIKELY(resolved_field == nullptr)) { 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.h115 void ThrowIncompatibleClassChangeErrorField(ArtField* resolved_field, bool is_static,
Dcommon_throws.cc228 void ThrowIncompatibleClassChangeErrorField(ArtField* resolved_field, bool is_static, in ThrowIncompatibleClassChangeErrorField() argument
231 msg << "Expected '" << PrettyField(resolved_field) << "' to be a " in ThrowIncompatibleClassChangeErrorField()
Dclass_linker.cc3689 ArtField* resolved_field = dex_cache->GetResolvedField(field_idx, image_pointer_size_); in InitializeClass() local
3690 if (resolved_field == nullptr) { in InitializeClass()
3693 DCHECK_EQ(field, resolved_field); in InitializeClass()
/art/compiler/optimizing/
Dbuilder.cc834 ArtField* resolved_field = in BuildInstanceFieldAccess() local
837 if (resolved_field == nullptr) { in BuildInstanceFieldAccess()
842 Primitive::Type field_type = resolved_field->GetTypeAsPrimitiveType(); in BuildInstanceFieldAccess()
856 resolved_field->GetOffset(), in BuildInstanceFieldAccess()
857 resolved_field->IsVolatile())); in BuildInstanceFieldAccess()
862 resolved_field->GetOffset(), in BuildInstanceFieldAccess()
863 resolved_field->IsVolatile())); in BuildInstanceFieldAccess()
917 ArtField* resolved_field = compiler_driver_->ResolveField( in BuildStaticFieldAccess() local
920 if (resolved_field == nullptr) { in BuildStaticFieldAccess()
932 bool is_outer_class = (outer_class.Get() == resolved_field->GetDeclaringClass()); in BuildStaticFieldAccess()
[all …]