Changes in directory llvm/include/llvm/Target:
SubtargetFeature.h updated: 1.5 -> 1.6 --- Log message: Improve compatibility with VC2005, patch by Morten Ofstad! --- Diffs of the changes: (+4 -4) SubtargetFeature.h | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) Index: llvm/include/llvm/Target/SubtargetFeature.h diff -u llvm/include/llvm/Target/SubtargetFeature.h:1.5 llvm/include/llvm/Target/SubtargetFeature.h:1.6 --- llvm/include/llvm/Target/SubtargetFeature.h:1.5 Tue Oct 25 10:15:28 2005 +++ llvm/include/llvm/Target/SubtargetFeature.h Thu Jan 26 14:41:32 2006 @@ -36,8 +36,8 @@ uint32_t Value; // K-V integer value // Compare routine for std binary search - bool operator<(const std::string &S) const { - return strcmp(Key, S.c_str()) < 0; + bool operator<(const SubtargetFeatureKV &S) const { + return strcmp(Key, S.Key) < 0; } }; @@ -51,8 +51,8 @@ void *Value; // K-V pointer value // Compare routine for std binary search - bool operator<(const std::string &S) const { - return strcmp(Key, S.c_str()) < 0; + bool operator<(const SubtargetInfoKV &S) const { + return strcmp(Key, S.Key) < 0; } }; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits