diff options
| author | 2014-06-13 18:23:20 -0700 | |
|---|---|---|
| committer | 2014-06-13 22:38:25 -0700 | |
| commit | 3c911d68f10e5ee7c7055bac63ac8f523949e37d (patch) | |
| tree | ba0f30969e52a127fb28f34f6b5be4983953973d | |
| parent | b2192ffe6897da6bfd6165db7ce476cba1cd07ae (diff) | |
Add extra information to InitImageMethodVisitor CHECK
Bug: 15616246
(cherry picked from commit 21f1740e845505bf437dcf128912ce218ff92af9)
Change-Id: Ib698229cd56151c682d44e8dd59d8df18fb5a393
| -rw-r--r-- | compiler/oat_writer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/oat_writer.cc b/compiler/oat_writer.cc index 65bc3185eb..c6b9161b63 100644 --- a/compiler/oat_writer.cc +++ b/compiler/oat_writer.cc @@ -535,7 +535,7 @@ class OatWriter::InitImageMethodVisitor : public OatDexMethodVisitor { NullHandle<mirror::ClassLoader>(), NullHandle<mirror::ArtMethod>(), invoke_type); - CHECK(method != NULL); + CHECK(method != NULL) << PrettyMethod(it.GetMemberIndex(), *dex_file_, true); // Portable code offsets are set by ElfWriterMclinker::FixupCompiledCodeOffset after linking. method->SetQuickOatCodeOffset(offsets.code_offset_); method->SetOatNativeGcMapOffset(offsets.gc_map_offset_); |