Revert change that accidentally snuck into r253955.

llvm-svn: 253956
This commit is contained in:
Craig Topper 2015-11-24 06:24:06 +00:00
parent 6988e2723a
commit 2c11bd56d2

View File

@ -217,8 +217,7 @@ CodeGenRegBank &CodeGenTarget::getRegBank() const {
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,