summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-exegesis/lib/Clustering.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2019-02-20 14:50:08 +0000
committerHans Wennborg <hans@hanshq.net>2019-02-20 14:50:08 +0000
commit14e15ec18dd23e75fe54a72dde203dc266390561 (patch)
treea9a7ffaef48b15eba84520ac5bdec01058b5b9ac /llvm/tools/llvm-exegesis/lib/Clustering.cpp
parent14b09810a03e8053dbf2672e047ec2ac33caa898 (diff)
downloadbcm5719-llvm-14e15ec18dd23e75fe54a72dde203dc266390561.tar.gz
bcm5719-llvm-14e15ec18dd23e75fe54a72dde203dc266390561.zip
Fix the build with gcc/libstdc++ 4.8.2 after r354441
llvm-svn: 354469
Diffstat (limited to 'llvm/tools/llvm-exegesis/lib/Clustering.cpp')
-rw-r--r--llvm/tools/llvm-exegesis/lib/Clustering.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/Clustering.cpp b/llvm/tools/llvm-exegesis/lib/Clustering.cpp
index bebb535f431..0c529c4cbd9 100644
--- a/llvm/tools/llvm-exegesis/lib/Clustering.cpp
+++ b/llvm/tools/llvm-exegesis/lib/Clustering.cpp
@@ -226,10 +226,10 @@ void InstructionBenchmarkClustering::stabilize(unsigned NumOpcodes) {
ClusterIdForPoint_[P] = UnstableCluster.Id;
});
// Actually append to-be-moved points to the new cluster.
- UnstableCluster.PointIndices.insert(UnstableCluster.PointIndices.cend(),
+ UnstableCluster.PointIndices.insert(UnstableCluster.PointIndices.end(),
it, OldCluster.PointIndices.end());
// And finally, remove "to-be-moved" points form the old cluster.
- OldCluster.PointIndices.erase(it, OldCluster.PointIndices.cend());
+ OldCluster.PointIndices.erase(it, OldCluster.PointIndices.end());
// Now, the old cluster may end up being empty, but let's just keep it
// in whatever state it ended up. Purging empty clusters isn't worth it.
};
OpenPOWER on IntegriCloud