diff options
| author | 2016-02-12 12:32:53 +0000 | |
|---|---|---|
| committer | 2016-02-12 12:32:53 +0000 | |
| commit | b20d0f6327acbc225eba517d220832ab9a1cd599 (patch) | |
| tree | 1279672f7b97bb4eff9ca602c29395e0d8f289f0 /compiler/driver/compiler_driver_test.cc | |
| parent | 1660d214de55678c97defef10395f6f9d184e1fa (diff) | |
| parent | 31708b736a2d75a9eb21f51038a7703f84f95f31 (diff) | |
Merge "Fix compiler driver gtest."
Diffstat (limited to 'compiler/driver/compiler_driver_test.cc')
| -rw-r--r-- | compiler/driver/compiler_driver_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/driver/compiler_driver_test.cc b/compiler/driver/compiler_driver_test.cc index 4c03e5ddfe..478588561f 100644 --- a/compiler/driver/compiler_driver_test.cc +++ b/compiler/driver/compiler_driver_test.cc @@ -249,9 +249,9 @@ class CompilerDriverProfileTest : public CompilerDriverTest { ProfileCompilationInfo info; for (const std::unique_ptr<const DexFile>& dex_file : dex_files) { - std::cout << std::string(dex_file->GetLocation()); - profile_info_.AddData(dex_file->GetLocation(), dex_file->GetLocationChecksum(), 1); - profile_info_.AddData(dex_file->GetLocation(), dex_file->GetLocationChecksum(), 2); + std::string key = ProfileCompilationInfo::GetProfileDexFileKey(dex_file->GetLocation()); + profile_info_.AddData(key, dex_file->GetLocationChecksum(), 1); + profile_info_.AddData(key, dex_file->GetLocationChecksum(), 2); } return &profile_info_; } |