diff options
| author | 2012-03-21 00:34:12 +0800 | |
|---|---|---|
| committer | 2012-03-26 21:10:46 -0700 | |
| commit | de08e84143f7339d5bad24f252681207abbe0951 (patch) | |
| tree | 6a810189c3fb29f24c8e057b5fdfc824012f0b2d /src/compiler_llvm/compiler_llvm.cc | |
| parent | 0cc6ab6c5104f565a0a3256b5b2b31c6383be189 (diff) | |
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
Diffstat (limited to 'src/compiler_llvm/compiler_llvm.cc')
| -rw-r--r-- | src/compiler_llvm/compiler_llvm.cc | 10 |
1 files changed, 1 insertions, 9 deletions
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); |