mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-04 06:09:05 +00:00
Use array_pod_sort instead of std::sort.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175472 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2af5035a1d
commit
56f58ad0e4
@ -17657,7 +17657,7 @@ bool X86TargetLowering::ExpandInlineAsm(CallInst *CI) const {
|
||||
AsmPieces.clear();
|
||||
const std::string &ConstraintsStr = IA->getConstraintString();
|
||||
SplitString(StringRef(ConstraintsStr).substr(5), AsmPieces, ",");
|
||||
std::sort(AsmPieces.begin(), AsmPieces.end());
|
||||
array_pod_sort(AsmPieces.begin(), AsmPieces.end());
|
||||
if (AsmPieces.size() == 4 &&
|
||||
AsmPieces[0] == "~{cc}" &&
|
||||
AsmPieces[1] == "~{dirflag}" &&
|
||||
@ -17675,7 +17675,7 @@ bool X86TargetLowering::ExpandInlineAsm(CallInst *CI) const {
|
||||
AsmPieces.clear();
|
||||
const std::string &ConstraintsStr = IA->getConstraintString();
|
||||
SplitString(StringRef(ConstraintsStr).substr(5), AsmPieces, ",");
|
||||
std::sort(AsmPieces.begin(), AsmPieces.end());
|
||||
array_pod_sort(AsmPieces.begin(), AsmPieces.end());
|
||||
if (AsmPieces.size() == 4 &&
|
||||
AsmPieces[0] == "~{cc}" &&
|
||||
AsmPieces[1] == "~{dirflag}" &&
|
||||
|
Loading…
Reference in New Issue
Block a user