Changes in directory llvm/include/llvm/Target:
SubtargetFeature.h updated: 1.8 -> 1.9 TargetSubtarget.h updated: 1.3 -> 1.4 --- Log message: Rollback changes to take a different tack. --- Diffs of the changes: (+0 -6) SubtargetFeature.h | 3 --- TargetSubtarget.h | 3 --- 2 files changed, 6 deletions(-) Index: llvm/include/llvm/Target/SubtargetFeature.h diff -u llvm/include/llvm/Target/SubtargetFeature.h:1.8 llvm/include/llvm/Target/SubtargetFeature.h:1.9 --- llvm/include/llvm/Target/SubtargetFeature.h:1.8 Tue Dec 12 10:07:33 2006 +++ llvm/include/llvm/Target/SubtargetFeature.h Tue Dec 12 13:26:50 2006 @@ -81,9 +81,6 @@ /// Set the CPU string. Replaces previous setting. Setting to "" clears CPU. void setCPU(const std::string &String); - /// Get the CPU string. - const std::string &getCPU() const { return Features[0]; } - /// Setting CPU string only if no string is set. void setCPUIfNone(const std::string &String); Index: llvm/include/llvm/Target/TargetSubtarget.h diff -u llvm/include/llvm/Target/TargetSubtarget.h:1.3 llvm/include/llvm/Target/TargetSubtarget.h:1.4 --- llvm/include/llvm/Target/TargetSubtarget.h:1.3 Tue Dec 12 10:07:33 2006 +++ llvm/include/llvm/Target/TargetSubtarget.h Tue Dec 12 13:26:50 2006 @@ -27,13 +27,10 @@ class TargetSubtarget { TargetSubtarget(const TargetSubtarget&); // DO NOT IMPLEMENT void operator=(const TargetSubtarget&); // DO NOT IMPLEMENT - std::string CPU; // CPU name. protected: // Can only create subclasses... TargetSubtarget(); public: virtual ~TargetSubtarget(); - void setCPU(const std::string &C) { CPU = C; } - const std::string &getCPU() const { return CPU; } }; } // End llvm namespace _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits