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 18e01c3ec86fbfc03cab47261e3e30b1ad0581cc..88c352d4d8ddd56c51cac418c933f92eb62fc388 100644 (file)
@@ -217,8 +217,7 @@ CodeGenRegBank &CodeGenTarget::getRegBank() const {
 
 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,