diff options
author | 2017-06-15 20:21:23 +0000 | |
---|---|---|
committer | 2017-06-15 20:21:24 +0000 | |
commit | a5dcdf346158d47bfe80d8adb29b1b020cede286 (patch) | |
tree | 50e56b3445dc8e4724d6707ffecd23f9dae96e31 /compiler/driver/compiler_driver.cc | |
parent | 942c597b004aa328cf291a78392b405ef5d5f040 (diff) | |
parent | bbe3a5efcdfb2fb15a4e5f724cc323ae0ada5111 (diff) |
Merge "Refactor some profiling info functions"
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
-rw-r--r-- | compiler/driver/compiler_driver.cc | 2 |
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] " |