summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/optimizing_compiler.cc
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-04-10 09:28:22 -0700
committerAndreas Gampe <agampe@google.com>2015-04-10 09:28:22 -0700
commit3773cd046b1c34569f4711666788bf8a389c7857 (patch)
tree4fda463949679cfe434e0d5559919a5f01b4d1ac /compiler/optimizing/optimizing_compiler.cc
parent6d80318c382a3490ab605b46fa7cb22c5e823fec (diff)
downloadandroid_art-3773cd046b1c34569f4711666788bf8a389c7857.tar.gz
android_art-3773cd046b1c34569f4711666788bf8a389c7857.tar.bz2
android_art-3773cd046b1c34569f4711666788bf8a389c7857.zip
ART: Remove WriteElf from Compiler
As Portable is gone, we only have one elf_writer left. It also allows to put the decision for 32b vs 64b ELF into a central point. Change-Id: Iae67d06df85268b3f0ee5725abc65edd23eb2499
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
-rw-r--r--compiler/optimizing/optimizing_compiler.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc
index 0e02212867..a428c75c8c 100644
--- a/compiler/optimizing/optimizing_compiler.cc
+++ b/compiler/optimizing/optimizing_compiler.cc
@@ -200,20 +200,6 @@ class OptimizingCompiler FINAL : public Compiler {
InstructionSetPointerSize(GetCompilerDriver()->GetInstructionSet())));
}
- bool WriteElf(art::File* file,
- OatWriter* oat_writer,
- const std::vector<const art::DexFile*>& dex_files,
- const std::string& android_root,
- bool is_host) const OVERRIDE SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) {
- if (kProduce64BitELFFiles && Is64BitInstructionSet(GetCompilerDriver()->GetInstructionSet())) {
- return art::ElfWriterQuick64::Create(file, oat_writer, dex_files, android_root, is_host,
- *GetCompilerDriver());
- } else {
- return art::ElfWriterQuick32::Create(file, oat_writer, dex_files, android_root, is_host,
- *GetCompilerDriver());
- }
- }
-
void InitCompilationUnit(CompilationUnit& cu) const OVERRIDE;
void Init() OVERRIDE;