diff options
Diffstat (limited to 'runtime/oat_quick_method_header.cc')
-rw-r--r-- | runtime/oat_quick_method_header.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/oat_quick_method_header.cc b/runtime/oat_quick_method_header.cc index 7f473984cc..7a6ebf8075 100644 --- a/runtime/oat_quick_method_header.cc +++ b/runtime/oat_quick_method_header.cc @@ -24,9 +24,10 @@ namespace art { -uint32_t OatQuickMethodHeader::ToDexPc(ArtMethod* method, +uint32_t OatQuickMethodHeader::ToDexPc(ArtMethod** frame, const uintptr_t pc, bool abort_on_failure) const { + ArtMethod* method = *frame; const void* entry_point = GetEntryPoint(); uint32_t sought_offset = pc - reinterpret_cast<uintptr_t>(entry_point); if (method->IsNative()) { |