From f3e2cc4a38389aa75eb8ee3973a535254bf1c8d2 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Tue, 18 Feb 2014 18:37:26 +0000 Subject: Code cleanup to avoid LLVM dependency when building with quick only. Change-Id: I0985c227d775c72fd23975d4c9bf673ba32615c2 --- compiler/driver/compiler_driver.cc | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'compiler/driver/compiler_driver.cc') diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index b46ae2b85d..5adb792497 100644 --- a/compiler/driver/compiler_driver.cc +++ b/compiler/driver/compiler_driver.cc @@ -293,9 +293,6 @@ extern "C" art::CompiledMethod* ArtCompileDEX(art::CompilerDriver& compiler, jobject class_loader, const art::DexFile& dex_file); -extern "C" void compilerLLVMSetBitcodeFileName(art::CompilerDriver& driver, - std::string const& filename); - CompilerDriver::CompilerDriver(VerificationResults* verification_results, DexFileToMethodInlinerMap* method_inliner_map, CompilerBackend::Kind compiler_backend_kind, @@ -2017,16 +2014,6 @@ CompiledMethod* CompilerDriver::GetCompiledMethod(MethodReference ref) const { return it->second; } -void CompilerDriver::SetBitcodeFileName(std::string const& filename) { - typedef void (*SetBitcodeFileNameFn)(CompilerDriver&, std::string const&); - - SetBitcodeFileNameFn set_bitcode_file_name = - reinterpret_cast(compilerLLVMSetBitcodeFileName); - - set_bitcode_file_name(*this, filename); -} - - void CompilerDriver::AddRequiresConstructorBarrier(Thread* self, const DexFile* dex_file, uint16_t class_def_index) { WriterMutexLock mu(self, freezing_constructor_lock_); -- cgit v1.2.3-59-g8ed1b