these utils don't need exports.
[oota-llvm.git] / utils / TableGen / SubtargetEmitter.cpp
index 9b5f6df4d4abf5f6038d2851004f463534fe7414..b05b9968a2e83a149f09152e63f82c2a5a44d601 100644 (file)
@@ -61,7 +61,7 @@ void SubtargetEmitter::FeatureKeyValues(std::ostream &OS) {
   // 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(), LessRecordFieldName());
 
   // Begin feature table
   OS << "// Sorted (by key) array of values for CPU features.\n"