Simplify MakeElfFileForJIT
We only ever pass single method info to the method and
I don't plan to use the method for anything more complex.
The JIT-related methods also know the relevant ElfTypes
at compile time, so some of the helpers are not needed.
Test: ./art/test.py -b -r -t 137
Change-Id: Ie7815a6427ac05be15a79adeb05dccc9150441d2
diff --git a/compiler/debug/elf_debug_writer.h b/compiler/debug/elf_debug_writer.h
index e442e00..8ad0c42 100644
--- a/compiler/debug/elf_debug_writer.h
+++ b/compiler/debug/elf_debug_writer.h
@@ -54,7 +54,7 @@
InstructionSet isa,
const InstructionSetFeatures* features,
bool mini_debug_info,
- ArrayRef<const MethodDebugInfo> method_infos);
+ const MethodDebugInfo& method_info);
std::vector<uint8_t> WriteDebugElfFileForClasses(
InstructionSet isa,