diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2013-11-16 16:15:56 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2013-11-16 16:15:56 +0000 |
commit | 0c8d604fed22efadaa15cae1febafe290110a556 (patch) | |
tree | 96ee2b73c100b87a8a6f11dcb923f194ede3c617 /llvm/lib/LTO/LTOCodeGenerator.cpp | |
parent | 03f3e248eb7a5e68868440181ddbed0b1fcc4990 (diff) | |
download | bcm5719-llvm-0c8d604fed22efadaa15cae1febafe290110a556.tar.gz bcm5719-llvm-0c8d604fed22efadaa15cae1febafe290110a556.zip |
Use array_pod_sort instead of std::sort
Per Rafael's review of r194514.
llvm-svn: 194926
Diffstat (limited to 'llvm/lib/LTO/LTOCodeGenerator.cpp')
-rw-r--r-- | llvm/lib/LTO/LTOCodeGenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/LTO/LTOCodeGenerator.cpp b/llvm/lib/LTO/LTOCodeGenerator.cpp index 02bb184c772..2b3648e1f3b 100644 --- a/llvm/lib/LTO/LTOCodeGenerator.cpp +++ b/llvm/lib/LTO/LTOCodeGenerator.cpp @@ -372,7 +372,7 @@ static void accumulateAndSortLibcalls(std::vector<StringRef> &Libcalls, = Lowering->getLibcallName(static_cast<RTLIB::Libcall>(I))) Libcalls.push_back(Name); - std::sort(Libcalls.begin(), Libcalls.end()); + array_pod_sort(Libcalls.begin(), Libcalls.end()); Libcalls.erase(std::unique(Libcalls.begin(), Libcalls.end()), Libcalls.end()); } |