diff options
Diffstat (limited to 'runtime/art_method.cc')
-rw-r--r-- | runtime/art_method.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/art_method.cc b/runtime/art_method.cc index 45bf66446a..5b4dcb73fd 100644 --- a/runtime/art_method.cc +++ b/runtime/art_method.cc @@ -425,7 +425,7 @@ bool ArtMethod::IsPolymorphicSignature() { static uint32_t GetOatMethodIndexFromMethodIndex(const DexFile& dex_file, uint16_t class_def_idx, uint32_t method_idx) { - ClassAccessor accessor(dex_file, dex_file.GetClassDef(class_def_idx)); + ClassAccessor accessor(dex_file, class_def_idx); uint32_t class_def_method_index = 0u; for (const ClassAccessor::Method& method : accessor.GetMethods()) { if (method.GetIndex() == method_idx) { |