diff options
author | Chris Lattner <sabre@nondot.org> | 2010-12-13 03:24:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-12-13 03:24:30 +0000 |
commit | fca20f507ccfd3407511cd1ccb94ab4421388107 (patch) | |
tree | 97e989e89ac212d272217b39b020813e42fc327b /lib | |
parent | 61c77449c772427a0d2559fca500debd93c7f97c (diff) | |
download | external_llvm-fca20f507ccfd3407511cd1ccb94ab4421388107.zip external_llvm-fca20f507ccfd3407511cd1ccb94ab4421388107.tar.gz external_llvm-fca20f507ccfd3407511cd1ccb94ab4421388107.tar.bz2 |
zap two more std::sorts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121672 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Transforms/Utils/SimplifyCFG.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Utils/SimplifyCFG.cpp b/lib/Transforms/Utils/SimplifyCFG.cpp index ef07b9e..1e9b2e5 100644 --- a/lib/Transforms/Utils/SimplifyCFG.cpp +++ b/lib/Transforms/Utils/SimplifyCFG.cpp @@ -469,8 +469,8 @@ ValuesOverlap(std::vector<std::pair<ConstantInt*, BasicBlock*> > &C1, } // Otherwise, just sort both lists and compare element by element. - std::sort(V1->begin(), V1->end()); - std::sort(V2->begin(), V2->end()); + array_pod_sort(V1->begin(), V1->end()); + array_pod_sort(V2->begin(), V2->end()); unsigned i1 = 0, i2 = 0, e1 = V1->size(), e2 = V2->size(); while (i1 != e1 && i2 != e2) { if ((*V1)[i1].first == (*V2)[i2].first) |