diff options
Diffstat (limited to 'compiler/llvm')
-rw-r--r-- | compiler/llvm/compiler_llvm.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/llvm/compiler_llvm.cc b/compiler/llvm/compiler_llvm.cc index 6b19a37b6f..fd440d5bf0 100644 --- a/compiler/llvm/compiler_llvm.cc +++ b/compiler/llvm/compiler_llvm.cc @@ -153,9 +153,8 @@ CompileDexMethod(DexCompilationUnit* dex_compilation_unit, InvokeType invoke_typ MethodReference mref(dex_compilation_unit->GetDexFile(), dex_compilation_unit->GetDexMethodIndex()); - return new CompiledMethod(compiler_driver_->GetInstructionSet(), - cunit->GetElfObject(), - *verifier::MethodVerifier::GetDexGcMap(mref), + return new CompiledMethod(*compiler_driver_, compiler_driver_->GetInstructionSet(), + cunit->GetElfObject(), *verifier::MethodVerifier::GetDexGcMap(mref), cunit->GetDexCompilationUnit()->GetSymbol()); } |