summaryrefslogtreecommitdiffstats
path: root/compiler/llvm/compiler_llvm.cc
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2014-03-07 15:28:39 +0000
committerNicolas Geoffray <ngeoffray@google.com>2014-03-13 09:10:43 +0000
commitb34f69ab43aaf7a6e6045c95f398baf566ef5023 (patch)
tree4090a650de1de3806f6273f3828e77bef9704453 /compiler/llvm/compiler_llvm.cc
parent113f7a4b6093280e4783c69e06467f816a568e72 (diff)
downloadart-b34f69ab43aaf7a6e6045c95f398baf566ef5023.zip
art-b34f69ab43aaf7a6e6045c95f398baf566ef5023.tar.gz
art-b34f69ab43aaf7a6e6045c95f398baf566ef5023.tar.bz2
Add command line support for enabling the optimizing compiler.
Also run tests with the optimizing compiler enabled when the file art/USE_OPTIMIZING_COMPILER is present. Change-Id: Ibc33eed62a43547bc3b9fe786d014c0d81b5add8
Diffstat (limited to 'compiler/llvm/compiler_llvm.cc')
-rw-r--r--compiler/llvm/compiler_llvm.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/llvm/compiler_llvm.cc b/compiler/llvm/compiler_llvm.cc
index 4ce714a..2812700 100644
--- a/compiler/llvm/compiler_llvm.cc
+++ b/compiler/llvm/compiler_llvm.cc
@@ -39,7 +39,7 @@
namespace art {
void CompileOneMethod(CompilerDriver& driver,
- CompilerBackend* compilerBackend,
+ Compiler* compiler,
const DexFile::CodeItem* code_item,
uint32_t access_flags, InvokeType invoke_type,
uint16_t class_def_idx, uint32_t method_idx, jobject class_loader,
@@ -142,7 +142,7 @@ CompileDexMethod(DexCompilationUnit* dex_compilation_unit, InvokeType invoke_typ
cunit->SetCompilerDriver(compiler_driver_);
// TODO: consolidate ArtCompileMethods
CompileOneMethod(*compiler_driver_,
- compiler_driver_->GetCompilerBackend(),
+ compiler_driver_->GetCompiler(),
dex_compilation_unit->GetCodeItem(),
dex_compilation_unit->GetAccessFlags(),
invoke_type,