git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253956
91177308-0d34-0410-b5e6-
96231b3b80d8
void CodeGenTarget::ReadRegAltNameIndices() const {
RegAltNameIndices = Records.getAllDerivedDefinitions("RegAltNameIndex");
void CodeGenTarget::ReadRegAltNameIndices() const {
RegAltNameIndices = Records.getAllDerivedDefinitions("RegAltNameIndex");
- array_pod_sort(RegAltNameIndices.begin(), RegAltNameIndices.end(),
- LessRecord());
+ std::sort(RegAltNameIndices.begin(), RegAltNameIndices.end(), LessRecord());
}
/// getRegisterByName - If there is a register with the specific AsmName,
}
/// getRegisterByName - If there is a register with the specific AsmName,