diff options
Diffstat (limited to 'src/oat_writer.cc')
-rw-r--r-- | src/oat_writer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oat_writer.cc b/src/oat_writer.cc index 2eb80ec..2969c21 100644 --- a/src/oat_writer.cc +++ b/src/oat_writer.cc @@ -397,7 +397,7 @@ size_t OatWriter::InitOatCodeMethod(size_t offset, size_t oat_class_index, DexCache* dex_cache = linker->FindDexCache(*dex_file); // Unchecked as we hold mutator_lock_ on entry. ScopedObjectAccessUnchecked soa(Thread::Current()); - Method* method = linker->ResolveMethod(*dex_file, method_idx, dex_cache, + AbstractMethod* method = linker->ResolveMethod(*dex_file, method_idx, dex_cache, soa.Decode<ClassLoader*>(class_loader_), NULL, type); CHECK(method != NULL); method->SetFrameSizeInBytes(frame_size_in_bytes); |