mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-26 21:20:37 +00:00
Add std:: to sort calls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43652 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b61f2f061f
commit
111c4f897e
@ -1915,7 +1915,7 @@ unsigned SelectionDAGLowering::Clusterify(CaseVector& Cases,
|
||||
SI.getSuccessorValue(i),
|
||||
SMBB));
|
||||
}
|
||||
sort(Cases.begin(), Cases.end(), CaseCmp());
|
||||
std::sort(Cases.begin(), Cases.end(), CaseCmp());
|
||||
|
||||
// Merge case into clusters
|
||||
if (Cases.size()>=2)
|
||||
|
@ -244,7 +244,7 @@ unsigned LowerSwitch::Clusterify(CaseVector& Cases, SwitchInst *SI) {
|
||||
Cases.push_back(CaseRange(SI->getSuccessorValue(i),
|
||||
SI->getSuccessorValue(i),
|
||||
SI->getSuccessor(i)));
|
||||
sort(Cases.begin(), Cases.end(), CaseCmp());
|
||||
std::sort(Cases.begin(), Cases.end(), CaseCmp());
|
||||
|
||||
// Merge case into clusters
|
||||
if (Cases.size()>=2)
|
||||
|
Loading…
Reference in New Issue
Block a user