aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorDan Gohman <djg@cray.com>2007-11-02 22:24:01 +0000
committerDan Gohman <djg@cray.com>2007-11-02 22:24:01 +0000
commit68840707c8763f4e7a5377039b14d08fef6caef9 (patch)
treeb1a9ea0d43b04de3982a033bb9f8ebb45f82f83b /lib/CodeGen
parent0bb8bdc724f0dbd88a4be9853dfe31cf6f244f56 (diff)
downloadexternal_llvm-68840707c8763f4e7a5377039b14d08fef6caef9.zip
external_llvm-68840707c8763f4e7a5377039b14d08fef6caef9.tar.gz
external_llvm-68840707c8763f4e7a5377039b14d08fef6caef9.tar.bz2
Add std:: to sort calls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43652 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index feb9d75..44d8188 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -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)