summaryrefslogtreecommitdiff
path: root/runtime/throw_location.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/throw_location.cc')
-rw-r--r--runtime/throw_location.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/throw_location.cc b/runtime/throw_location.cc
index 06b6e8d277..a1347a49bb 100644
--- a/runtime/throw_location.cc
+++ b/runtime/throw_location.cc
@@ -27,7 +27,7 @@ namespace art {
std::string ThrowLocation::Dump() const {
if (method_ != nullptr) {
return StringPrintf("%s:%d", PrettyMethod(method_).c_str(),
- MethodHelper(method_).GetLineNumFromDexPC(dex_pc_));
+ method_->GetLineNumFromDexPC(dex_pc_));
} else {
return "unknown throw location";
}