summaryrefslogtreecommitdiff
path: root/llvm/lib/Target/PowerPC/PPCMergeStringPool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCMergeStringPool.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCMergeStringPool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCMergeStringPool.cpp b/llvm/lib/Target/PowerPC/PPCMergeStringPool.cpp
index 309938accdf4..af028de47d93 100644
--- a/llvm/lib/Target/PowerPC/PPCMergeStringPool.cpp
+++ b/llvm/lib/Target/PowerPC/PPCMergeStringPool.cpp
@@ -244,7 +244,7 @@ bool PPCMergeStringPool::mergeModuleStringPool(Module &M) {
return false;
// Sort the global constants to make access more efficient.
- std::sort(MergeableStrings.begin(), MergeableStrings.end(), CompareConstants);
+ llvm::sort(MergeableStrings, CompareConstants);
SmallVector<Constant *> ConstantsInStruct;
for (GlobalVariable *GV : MergeableStrings)