summaryrefslogtreecommitdiff
path: root/compiler/oat_writer.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2015-03-09 10:11:03 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-03-09 10:11:03 +0000
commit5c9d8f0d2948c2b4fe4258f96e3598ad5b8fa23b (patch)
tree7510031e119cf981cdb6aafc5e5c2299aa06590d /compiler/oat_writer.cc
parent3dd536ffd7e8f82e4587964545b272acbd61d68e (diff)
parent14691c5e786e8c2c5734f687e4c96217340771be (diff)
Merge "Compute the right catch location for the debugger."
Diffstat (limited to 'compiler/oat_writer.cc')
-rw-r--r--compiler/oat_writer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/oat_writer.cc b/compiler/oat_writer.cc
index c32a99226b..b3bb438bac 100644
--- a/compiler/oat_writer.cc
+++ b/compiler/oat_writer.cc
@@ -930,7 +930,7 @@ class OatWriter::InitImageMethodVisitor : public OatDexMethodVisitor {
LOG(ERROR) << "Unexpected failure to resolve a method: "
<< PrettyMethod(it.GetMemberIndex(), *dex_file_, true);
soa.Self()->AssertPendingException();
- mirror::Throwable* exc = soa.Self()->GetException(nullptr);
+ mirror::Throwable* exc = soa.Self()->GetException();
std::string dump = exc->Dump();
LOG(FATAL) << dump;
}