From 14691c5e786e8c2c5734f687e4c96217340771be Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Thu, 5 Mar 2015 10:40:17 +0000 Subject: Compute the right catch location for the debugger. Also remove tls ThrowLocation, it is not needed anymore. Change-Id: I78fddf09ce968ca475e39c17fa76d699c589c8d9 --- compiler/oat_writer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/oat_writer.cc') 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; } -- cgit v1.2.3-59-g8ed1b