summaryrefslogtreecommitdiff
path: root/compiler/optimizing/optimizing_compiler.cc
diff options
context:
space:
mode:
authorDavid Srbecky <dsrbecky@google.com>2018-12-05 10:48:42 +0000
committerDavid Srbecky <dsrbecky@google.com>2018-12-05 11:35:29 +0000
commitbe50f9ae077b9d5fb4f12f693ba36cc69e9d4073 (patch)
treeedcd00b15d95aee101dd85574d1ce91b3cb35c0c /compiler/optimizing/optimizing_compiler.cc
parent6a98f89c4ad645b04d6c80d3d7e260c59bf6f193 (diff)
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
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
-rw-r--r--compiler/optimizing/optimizing_compiler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc
index 1d3fcf3002..641368b87a 100644
--- a/compiler/optimizing/optimizing_compiler.cc
+++ b/compiler/optimizing/optimizing_compiler.cc
@@ -1469,7 +1469,7 @@ void OptimizingCompiler::GenerateJitDebugInfo(
compiler_options.GetInstructionSet(),
compiler_options.GetInstructionSetFeatures(),
mini_debug_info,
- ArrayRef<const debug::MethodDebugInfo>(&info, 1));
+ info);
MutexLock mu(Thread::Current(), *Locks::native_debug_interface_lock_);
AddNativeDebugInfoForJit(reinterpret_cast<const void*>(info.code_address), elf_file);