diff options
Diffstat (limited to 'runtime/mirror/dex_cache.h')
| -rw-r--r-- | runtime/mirror/dex_cache.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/runtime/mirror/dex_cache.h b/runtime/mirror/dex_cache.h index 0522f134af..a5fe598f5c 100644 --- a/runtime/mirror/dex_cache.h +++ b/runtime/mirror/dex_cache.h @@ -47,8 +47,7 @@ class MANAGED DexCache : public Object { ObjectArray<String>* strings, ObjectArray<Class>* types, ObjectArray<ArtMethod>* methods, - ObjectArray<ArtField>* fields, - ObjectArray<StaticStorageBase>* initialized_static_storage) + ObjectArray<ArtField>* fields) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); void Fixup(ArtMethod* trampoline) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); @@ -85,11 +84,6 @@ class MANAGED DexCache : public Object { return GetResolvedFields()->GetLength(); } - size_t NumInitializedStaticStorage() const - SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { - return GetInitializedStaticStorage()->GetLength(); - } - String* GetResolvedString(uint32_t string_idx) const SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { return GetStrings()->Get(string_idx); @@ -149,12 +143,6 @@ class MANAGED DexCache : public Object { return GetFieldObject< ObjectArray<ArtField>* >(ResolvedFieldsOffset(), false); } - ObjectArray<StaticStorageBase>* GetInitializedStaticStorage() const - SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { - return GetFieldObject< ObjectArray<StaticStorageBase>* >( - OFFSET_OF_OBJECT_MEMBER(DexCache, initialized_static_storage_), false); - } - const DexFile* GetDexFile() const { return GetFieldPtr<const DexFile*>(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_), false); } @@ -165,7 +153,6 @@ class MANAGED DexCache : public Object { private: Object* dex_; - ObjectArray<StaticStorageBase>* initialized_static_storage_; String* location_; ObjectArray<ArtField>* resolved_fields_; ObjectArray<ArtMethod>* resolved_methods_; |