diff options
Diffstat (limited to 'runtime/art_method-inl.h')
-rw-r--r-- | runtime/art_method-inl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/art_method-inl.h b/runtime/art_method-inl.h index 1659f3333b..9b4b38aa0f 100644 --- a/runtime/art_method-inl.h +++ b/runtime/art_method-inl.h @@ -24,6 +24,7 @@ #include "class_linker-inl.h" #include "common_throws.h" #include "dex_file.h" +#include "dex_file_annotations.h" #include "dex_file-inl.h" #include "gc_root-inl.h" #include "jit/profiling_info.h" @@ -347,7 +348,7 @@ inline int32_t ArtMethod::GetLineNumFromDexPC(uint32_t dex_pc) { if (dex_pc == DexFile::kDexNoIndex) { return IsNative() ? -2 : -1; } - return GetDexFile()->GetLineNumFromPC(this, dex_pc); + return annotations::GetLineNumFromPC(GetDexFile(), this, dex_pc); } inline const DexFile::ProtoId& ArtMethod::GetPrototype() { |