diff options
Diffstat (limited to 'runtime/imtable.h')
-rw-r--r-- | runtime/imtable.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/runtime/imtable.h b/runtime/imtable.h index 0d604ca244..f7e9066c78 100644 --- a/runtime/imtable.h +++ b/runtime/imtable.h @@ -81,11 +81,14 @@ class ImTable { } // Converts a method to the base hash components used in GetImtIndex. - ALWAYS_INLINE static inline void GetImtHashComponents(ArtMethod* method, + ALWAYS_INLINE static inline void GetImtHashComponents(const DexFile& dex_file, + uint32_t dex_method_index, uint32_t* class_hash, uint32_t* name_hash, - uint32_t* signature_hash) - REQUIRES_SHARED(Locks::mutator_lock_); + uint32_t* signature_hash); + + ALWAYS_INLINE static inline uint32_t GetImtIndexForAbstractMethod(const DexFile& dex_file, + uint32_t dex_method_index); // The (complete) hashing scheme to map an ArtMethod to a slot in the Interface Method Table // (IMT). |