1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Add std:: to sort calls.

llvm-svn: 43652
This commit is contained in:
Dan Gohman 2007-11-02 22:24:01 +00:00
parent 26c8800fbd
commit 19d88d511b
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)