mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-21 21:41:43 +00:00
Use array_pod_sort instead of std::sort
Per Rafael's review of r194514. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194926 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e9cdbf68e5
commit
0fb32eb56a
@ -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());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user