diff options
Diffstat (limited to 'src/class_linker.h')
| -rw-r--r-- | src/class_linker.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/class_linker.h b/src/class_linker.h index f1530f3ec8..14c719e8fe 100644 --- a/src/class_linker.h +++ b/src/class_linker.h @@ -372,6 +372,9 @@ class ClassLinker { const void* GetOatCodeFor(const AbstractMethod* method) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); + // Get the oat code for a method from a method index. + const void* GetOatCodeFor(const DexFile& dex_file, uint32_t method_idx); + // Relocate the OatFiles (ELF images) void RelocateExecutable() LOCKS_EXCLUDED(dex_lock_); |