Per-DexFile locking for inliner initialization.
And clean up lock and compiler driver naming.
Change-Id: I1562c7f55c4b0174a36007ba6199360da06169ff
diff --git a/compiler/dex/quick/gen_invoke.cc b/compiler/dex/quick/gen_invoke.cc
index e66d4ea..ee6f9c8 100644
--- a/compiler/dex/quick/gen_invoke.cc
+++ b/compiler/dex/quick/gen_invoke.cc
@@ -1242,7 +1242,7 @@
if (inliner_ == nullptr) {
QuickCompilerContext* context = reinterpret_cast<QuickCompilerContext*>(
cu_->compiler_driver->GetCompilerContext());
- inliner_ = &context->GetInlinerMap()->GetMethodInliner(cu_->dex_file);
+ inliner_ = context->GetInlinerMap()->GetMethodInliner(cu_->dex_file);
}
if (inliner_->GenIntrinsic(this, info)) {
return;