mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
Use array_pod_sort.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175048 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f1dd494129
commit
f107e6ca9b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user