mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-02 16:36:40 +00:00
Use array_pod_sort instead of std::sort
Per Rafael's review of r194514. llvm-svn: 194926
This commit is contained in:
parent
0519e29d1b
commit
9d5d4717ed
@ -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…
Reference in New Issue
Block a user