summaryrefslogtreecommitdiff
path: root/compiler/optimizing/inliner.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2018-11-08 10:28:48 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-11-08 10:28:48 +0000
commit82b67b2ef24a2475e88135ec63aa50270aad0254 (patch)
treef08befc96a48e721f40f597a13949b7aed68602f /compiler/optimizing/inliner.cc
parentb1fcebe160ace50dfd38efae7439640b2ac4268f (diff)
parent1a2a5cd58b7b667b664a7c20a4887a6cd89b4776 (diff)
Merge "Move profile compilation info to CompilerOptions."
Diffstat (limited to 'compiler/optimizing/inliner.cc')
-rw-r--r--compiler/optimizing/inliner.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/inliner.cc b/compiler/optimizing/inliner.cc
index f56f9cb84f..c1daf95727 100644
--- a/compiler/optimizing/inliner.cc
+++ b/compiler/optimizing/inliner.cc
@@ -680,7 +680,7 @@ HInliner::InlineCacheType HInliner::GetInlineCacheAOT(
/*out*/Handle<mirror::ObjectArray<mirror::Class>>* inline_cache)
REQUIRES_SHARED(Locks::mutator_lock_) {
DCHECK(Runtime::Current()->IsAotCompiler());
- const ProfileCompilationInfo* pci = compiler_driver_->GetProfileCompilationInfo();
+ const ProfileCompilationInfo* pci = codegen_->GetCompilerOptions().GetProfileCompilationInfo();
if (pci == nullptr) {
return kInlineCacheNoData;
}
@@ -1647,7 +1647,7 @@ bool HInliner::TryPatternSubstitution(HInvoke* invoke_instruction,
}
}
if (needs_constructor_barrier) {
- // See CompilerDriver::RequiresConstructorBarrier for more details.
+ // See DexCompilationUnit::RequiresConstructorBarrier for more details.
DCHECK(obj != nullptr) << "only non-static methods can have a constructor fence";
HConstructorFence* constructor_fence =