summaryrefslogtreecommitdiff
path: root/runtime/quick_exception_handler.cc
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-11-29 23:36:04 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-11-29 23:36:04 +0000
commitd5ae80c223a2aa51b6a54faa0f014acdd013103f (patch)
tree25b44b63625d83f36dc405d9ef9ff00b8dfc8fe3 /runtime/quick_exception_handler.cc
parentf355ec703f519c3091853d85f61904be6dfb68aa (diff)
parent813a86307e1f3437ed9d17aeea2c5c6ffcda5c67 (diff)
Merge "Use ArtMethod::GetDex{File,Cache}() more."
Diffstat (limited to 'runtime/quick_exception_handler.cc')
-rw-r--r--runtime/quick_exception_handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/quick_exception_handler.cc b/runtime/quick_exception_handler.cc
index d4e3d54a99..0d570c39ae 100644
--- a/runtime/quick_exception_handler.cc
+++ b/runtime/quick_exception_handler.cc
@@ -227,7 +227,7 @@ void QuickExceptionHandler::FindCatch(ObjPtr<mirror::Throwable> exception) {
LOG(INFO) << "Handler is upcall";
}
if (handler_method_ != nullptr) {
- const DexFile* dex_file = handler_method_->GetDeclaringClass()->GetDexCache()->GetDexFile();
+ const DexFile* dex_file = handler_method_->GetDexFile();
int line_number = annotations::GetLineNumFromPC(dex_file, handler_method_, handler_dex_pc_);
LOG(INFO) << "Handler: " << handler_method_->PrettyMethod() << " (line: "
<< line_number << ")";