From 2c11bd56d20e47d8ed34856f5c4fd6e90881e5a2 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Tue, 24 Nov 2015 06:24:06 +0000 Subject: [PATCH] Revert change that accidentally snuck into r253955. llvm-svn: 253956 --- utils/TableGen/CodeGenTarget.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/utils/TableGen/CodeGenTarget.cpp b/utils/TableGen/CodeGenTarget.cpp index 18e01c3ec86..88c352d4d8d 100644 --- a/utils/TableGen/CodeGenTarget.cpp +++ b/utils/TableGen/CodeGenTarget.cpp @@ -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,