projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
these utils don't need exports.
[oota-llvm.git]
/
utils
/
TableGen
/
SubtargetEmitter.cpp
diff --git
a/utils/TableGen/SubtargetEmitter.cpp
b/utils/TableGen/SubtargetEmitter.cpp
index 9b5f6df4d4abf5f6038d2851004f463534fe7414..b05b9968a2e83a149f09152e63f82c2a5a44d601 100644
(file)
--- a/
utils/TableGen/SubtargetEmitter.cpp
+++ b/
utils/TableGen/SubtargetEmitter.cpp
@@
-61,7
+61,7
@@
void SubtargetEmitter::FeatureKeyValues(std::ostream &OS) {
// Gather and sort all the features
std::vector<Record*> FeatureList =
Records.getAllDerivedDefinitions("SubtargetFeature");
// Gather and sort all the features
std::vector<Record*> FeatureList =
Records.getAllDerivedDefinitions("SubtargetFeature");
- std::sort(FeatureList.begin(), FeatureList.end(), LessRecord());
+ std::sort(FeatureList.begin(), FeatureList.end(), LessRecord
FieldName
());
// Begin feature table
OS << "// Sorted (by key) array of values for CPU features.\n"
// Begin feature table
OS << "// Sorted (by key) array of values for CPU features.\n"