summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CodeGenTarget.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2015-11-24 06:24:06 +0000
committerCraig Topper <craig.topper@gmail.com>2015-11-24 06:24:06 +0000
commitd324d75102b888e0a1c1997b87e92d96784223be (patch)
tree276cbc4d66e3df9b8569c91ac7098a7d6871b317 /llvm/utils/TableGen/CodeGenTarget.cpp
parent030418802afbce0586c4d92a4c07ae3fcb5eb1e4 (diff)
downloadbcm5719-llvm-d324d75102b888e0a1c1997b87e92d96784223be.tar.gz
bcm5719-llvm-d324d75102b888e0a1c1997b87e92d96784223be.zip
Revert change that accidentally snuck into r253955.
llvm-svn: 253956
Diffstat (limited to 'llvm/utils/TableGen/CodeGenTarget.cpp')
-rw-r--r--llvm/utils/TableGen/CodeGenTarget.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/CodeGenTarget.cpp b/llvm/utils/TableGen/CodeGenTarget.cpp
index 18e01c3ec86..88c352d4d8d 100644
--- a/llvm/utils/TableGen/CodeGenTarget.cpp
+++ b/llvm/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,
OpenPOWER on IntegriCloud