summaryrefslogtreecommitdiffstats
path: root/compiler/dex/quick/quick_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/dex/quick/quick_compiler.cc
parent6d80318c382a3490ab605b46fa7cb22c5e823fec (diff)
downloadart-3773cd046b1c34569f4711666788bf8a389c7857.tar.gz
art-3773cd046b1c34569f4711666788bf8a389c7857.tar.bz2
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/dex/quick/quick_compiler.cc')
-rw-r--r--compiler/dex/quick/quick_compiler.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/compiler/dex/quick/quick_compiler.cc b/compiler/dex/quick/quick_compiler.cc
index 2c0bd47405..fc3e687469 100644
--- a/compiler/dex/quick/quick_compiler.cc
+++ b/compiler/dex/quick/quick_compiler.cc
@@ -793,20 +793,6 @@ uintptr_t QuickCompiler::GetEntryPointOf(mirror::ArtMethod* method) const {
InstructionSetPointerSize(GetCompilerDriver()->GetInstructionSet())));
}
-bool QuickCompiler::WriteElf(art::File* file,
- OatWriter* oat_writer,
- const std::vector<const art::DexFile*>& dex_files,
- const std::string& android_root,
- bool is_host) const {
- 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());
- }
-}
-
Mir2Lir* QuickCompiler::GetCodeGenerator(CompilationUnit* cu, void* compilation_unit) {
UNUSED(compilation_unit);
Mir2Lir* mir_to_lir = nullptr;