diff options
Diffstat (limited to 'src/compiler_llvm/elf_loader.h')
| -rw-r--r-- | src/compiler_llvm/elf_loader.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/compiler_llvm/elf_loader.h b/src/compiler_llvm/elf_loader.h index 9e8137f7e6..ea98f61c17 100644 --- a/src/compiler_llvm/elf_loader.h +++ b/src/compiler_llvm/elf_loader.h @@ -26,10 +26,6 @@ #include <vector> namespace art { - class Method; -} - -namespace art { namespace compiler_llvm { class ElfLoader { @@ -41,10 +37,11 @@ class ElfLoader { void RelocateExecutable(); - const void* GetMethodCodeAddr(size_t elf_idx, const Method* method) const; + const void* GetMethodCodeAddr(uint16_t elf_idx, + uint16_t elf_func_idx) const; - const Method::InvokeStub* GetMethodInvokeStubAddr(size_t elf_idx, - const Method* method) const; + const Method::InvokeStub* GetMethodInvokeStubAddr(uint16_t elf_idx, + uint16_t elf_func_idx) const; private: const void* GetAddr(size_t elf_idx, const char* sym_name) const; |