diff options
| author | 2017-03-03 22:47:20 +0000 | |
|---|---|---|
| committer | 2017-03-03 22:47:21 +0000 | |
| commit | d9f647ac9a5cb0c6f112332d584756251c2cfb9f (patch) | |
| tree | 329c14766fa03136a9912b574ba7304ea3e44e6e /compiler/driver/compiler_driver_test.cc | |
| parent | b2a6d1218c527a685c421984292c47d241cf4a11 (diff) | |
| parent | e0ac1151b360be7147fa20320c0b427688b1424f (diff) | |
Merge "Extend profman to generate profiles with inline caches"
Diffstat (limited to 'compiler/driver/compiler_driver_test.cc')
| -rw-r--r-- | compiler/driver/compiler_driver_test.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/driver/compiler_driver_test.cc b/compiler/driver/compiler_driver_test.cc index 97954f3c29..562f97b3ae 100644 --- a/compiler/driver/compiler_driver_test.cc +++ b/compiler/driver/compiler_driver_test.cc @@ -240,9 +240,8 @@ class CompilerDriverProfileTest : public CompilerDriverTest { ProfileCompilationInfo info; for (const std::unique_ptr<const DexFile>& dex_file : dex_files) { - std::string key = ProfileCompilationInfo::GetProfileDexFileKey(dex_file->GetLocation()); - profile_info_.AddMethodIndex(key, dex_file->GetLocationChecksum(), 1); - profile_info_.AddMethodIndex(key, dex_file->GetLocationChecksum(), 2); + profile_info_.AddMethodIndex(dex_file->GetLocation(), dex_file->GetLocationChecksum(), 1); + profile_info_.AddMethodIndex(dex_file->GetLocation(), dex_file->GetLocationChecksum(), 2); } return &profile_info_; } |