summaryrefslogtreecommitdiffstats
path: root/libprofile
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-06-21 15:28:05 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-06-21 15:28:05 +0000
commit5774f57afc997ffe765c32199bd0d5e55d23005a (patch)
tree5efdd0edb9c5a6d55c20f76c26fc7b330f014c87 /libprofile
parent7e56bd41cde4e489a11050d9e340bf8b5692d9e8 (diff)
parentbc802de2244ed9769d1ddf8841d7965a29493d9a (diff)
downloadart-5774f57afc997ffe765c32199bd0d5e55d23005a.tar.gz
art-5774f57afc997ffe765c32199bd0d5e55d23005a.tar.bz2
art-5774f57afc997ffe765c32199bd0d5e55d23005a.zip
Merge "Revert^2 "ART: Fix some performance-X tidy""
Diffstat (limited to 'libprofile')
-rw-r--r--libprofile/profile/profile_compilation_info.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libprofile/profile/profile_compilation_info.cc b/libprofile/profile/profile_compilation_info.cc
index 2f249d58c8..6f49adf718 100644
--- a/libprofile/profile/profile_compilation_info.cc
+++ b/libprofile/profile/profile_compilation_info.cc
@@ -1383,7 +1383,7 @@ bool ProfileCompilationInfo::RemapProfileIndex(
// the current profile info.
// Note that the number of elements should be very small, so this should not
// be a performance issue.
- for (const ProfileLineHeader other_profile_line_header : profile_line_headers) {
+ for (const ProfileLineHeader& other_profile_line_header : profile_line_headers) {
if (!filter_fn(other_profile_line_header.dex_location, other_profile_line_header.checksum)) {
continue;
}