Revert change that accidentally snuck into r253955.
authorCraig Topper <craig.topper@gmail.com>
Tue, 24 Nov 2015 06:24:06 +0000 (06:24 +0000)
committerCraig Topper <craig.topper@gmail.com>
Tue, 24 Nov 2015 06:24:06 +0000 (06:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253956 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/CodeGenTarget.cpp

index 18e01c3..88c352d 100644 (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,