summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/compiler_llvm.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler_llvm/compiler_llvm.cc')
-rw-r--r--src/compiler_llvm/compiler_llvm.cc10
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);