summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Shih-wei Liao <sliao@google.com> 2012-03-06 21:57:49 -0800
committer Shih-wei Liao <sliao@google.com> 2012-03-06 21:57:49 -0800
commitbe5ff20bc68de0d14f043421815c5f3dbe0c39da (patch)
tree31445fbc651ff0dec85678c48ae45969d78f6adf
parent63deaad18853e55097761e47a9eedd12eb0c1e58 (diff)
Fix ART_USE_LLVM_COMPILER breakage.
Cope with today's compiler.cc change. Change-Id: I0f13536652a5b7c617648fe43a03dbbec391efd6
-rw-r--r--src/compiler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler.cc b/src/compiler.cc
index 17975306b9..2ba89d4f15 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -983,7 +983,7 @@ void Compiler::CompileClass(Context* context, size_t class_def_index) {
const DexFile::ClassDef& class_def = dex_file.GetClassDef(class_def_index);
#if defined(ART_USE_LLVM_COMPILER)
- compiler_llvm::CompilerLLVM* compiler_llvm = context->compiler->GetCompilerLLVM();
+ compiler_llvm::CompilerLLVM* compiler_llvm = context->GetCompiler()->GetCompilerLLVM();
MutexLock GUARD(compiler_llvm->compiler_lock_);
// TODO: Remove this. We should not lock the compiler_lock_ in CompileClass()