diff options
Diffstat (limited to 'runtime/mirror/dex_cache-inl.h')
-rw-r--r-- | runtime/mirror/dex_cache-inl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/mirror/dex_cache-inl.h b/runtime/mirror/dex_cache-inl.h index 7e40f64..08cff99 100644 --- a/runtime/mirror/dex_cache-inl.h +++ b/runtime/mirror/dex_cache-inl.h @@ -24,6 +24,11 @@ namespace art { namespace mirror { +inline uint32_t DexCache::ClassSize() { + uint32_t vtable_entries = Object::kVTableLength + 1; + return Class::ComputeClassSize(true, vtable_entries, 0, 0, 0); +} + inline ArtMethod* DexCache::GetResolvedMethod(uint32_t method_idx) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { ArtMethod* method = GetResolvedMethods()->Get(method_idx); |