Use array_pod_sort.

llvm-svn: 175048
This commit is contained in:
Bill Wendling 2013-02-13 09:26:26 +00:00
parent 51e31d211c
commit 82c2ee67dc
1 changed files with 1 additions and 1 deletions

View File

@ -412,7 +412,7 @@ AttributeSetNode *AttributeSetNode::get(LLVMContext &C,
FoldingSetNodeID ID;
SmallVector<Attribute, 8> SortedAttrs(Attrs.begin(), Attrs.end());
std::sort(SortedAttrs.begin(), SortedAttrs.end());
array_pod_sort(SortedAttrs.begin(), SortedAttrs.end());
for (SmallVectorImpl<Attribute>::iterator I = SortedAttrs.begin(),
E = SortedAttrs.end(); I != E; ++I)