From de08e84143f7339d5bad24f252681207abbe0951 Mon Sep 17 00:00:00 2001 From: Logan Chien Date: Wed, 21 Mar 2012 00:34:12 +0800 Subject: Remove ELF filename argument. We are embedding the ELF image in the Oat file. We don't need ELF filename anymore. (cherry picked from commit b245ccacf447b014838535a7d8a58365642f0c3d) Change-Id: I235429222401100c09381ba44a3978f38d5b499c --- src/compiler_llvm/compiler_llvm.cc | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/compiler_llvm/compiler_llvm.cc') diff --git a/src/compiler_llvm/compiler_llvm.cc b/src/compiler_llvm/compiler_llvm.cc index e02c9135b9..a646b6fa10 100644 --- a/src/compiler_llvm/compiler_llvm.cc +++ b/src/compiler_llvm/compiler_llvm.cc @@ -125,10 +125,7 @@ void CompilerLLVM::EnsureCompilationUnit() { curr_cunit_ = new CompilationUnit(insn_set_, cunit_idx); - // Setup output filename - curr_cunit_->SetElfFileName( - StringPrintf("%s-%zu", elf_filename_.c_str(), cunit_idx)); - + // Setup bitcode output filename if (IsBitcodeFileNameAvailable()) { curr_cunit_->SetBitcodeFileName( StringPrintf("%s-%zu", bitcode_filename_.c_str(), cunit_idx)); @@ -337,11 +334,6 @@ extern "C" art::CompiledInvokeStub* ArtCreateInvokeStub(art::Compiler& compiler, return ContextOf(compiler)->CreateInvokeStub(is_static, shorty); } -extern "C" void compilerLLVMSetElfFileName(art::Compiler& compiler, - std::string const& filename) { - ContextOf(compiler)->SetElfFileName(filename); -} - extern "C" void compilerLLVMSetBitcodeFileName(art::Compiler& compiler, std::string const& filename) { ContextOf(compiler)->SetBitcodeFileName(filename); -- cgit v1.2.3-59-g8ed1b