summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/compiler_llvm.cc
diff options
context:
space:
mode:
author Shih-wei Liao <sliao@google.com> 2012-03-29 19:15:39 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2012-03-29 19:15:39 -0700
commitb0e106502493208b6a7304ab41447a2c73a8bfe0 (patch)
tree6c8d61c0f7e372c1cc43e5cf7abd7d833eb13c49 /src/compiler_llvm/compiler_llvm.cc
parent5dfc15a6c1cb73f2050d658fd4c92895cc7f73d1 (diff)
parentb1ab7df793844398c71ee18c2bd60e3bc6484d10 (diff)
Merge "Cope with runtime refactoring on the LLVM side." into ics-mr1-plus-art
Diffstat (limited to 'src/compiler_llvm/compiler_llvm.cc')
-rw-r--r--src/compiler_llvm/compiler_llvm.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler_llvm/compiler_llvm.cc b/src/compiler_llvm/compiler_llvm.cc
index a646b6fa10..75ced8bf92 100644
--- a/src/compiler_llvm/compiler_llvm.cc
+++ b/src/compiler_llvm/compiler_llvm.cc
@@ -314,13 +314,12 @@ extern "C" art::CompiledMethod* ArtCompileMethod(art::Compiler& compiler,
extern "C" art::CompiledMethod* ArtJniCompileMethod(art::Compiler& compiler,
uint32_t access_flags, uint32_t method_idx,
- const art::ClassLoader* class_loader,
const art::DexFile& dex_file) {
art::ClassLinker *class_linker = art::Runtime::Current()->GetClassLinker();
art::DexCache *dex_cache = class_linker->FindDexCache(dex_file);
art::OatCompilationUnit oat_compilation_unit(
- class_loader, class_linker, dex_file, *dex_cache, NULL,
+ NULL, class_linker, dex_file, *dex_cache, NULL,
method_idx, access_flags);
art::compiler_llvm::CompilerLLVM* compiler_llvm = ContextOf(compiler);