summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.cc
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2017-06-15 20:21:23 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2017-06-15 20:21:24 +0000
commita5dcdf346158d47bfe80d8adb29b1b020cede286 (patch)
tree50e56b3445dc8e4724d6707ffecd23f9dae96e31 /compiler/driver/compiler_driver.cc
parent942c597b004aa328cf291a78392b405ef5d5f040 (diff)
parentbbe3a5efcdfb2fb15a4e5f724cc323ae0ada5111 (diff)
Merge "Refactor some profiling info functions"
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
-rw-r--r--compiler/driver/compiler_driver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc
index 2330b9a099..ea53ef0670 100644
--- a/compiler/driver/compiler_driver.cc
+++ b/compiler/driver/compiler_driver.cc
@@ -982,7 +982,7 @@ bool CompilerDriver::ShouldCompileBasedOnProfile(const MethodReference& method_r
}
// Compile only hot methods, it is the profile saver's job to decide what startup methods to mark
// as hot.
- bool result = profile_compilation_info_->ContainsHotMethod(method_ref);
+ bool result = profile_compilation_info_->GetMethodHotness(method_ref).IsHot();
if (kDebugProfileGuidedCompilation) {
LOG(INFO) << "[ProfileGuidedCompilation] "