diff options
Diffstat (limited to 'include/llvm/Target')
-rw-r--r-- | include/llvm/Target/SubtargetFeature.h | 3 | ||||
-rw-r--r-- | include/llvm/Target/TargetSubtarget.h | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/include/llvm/Target/SubtargetFeature.h b/include/llvm/Target/SubtargetFeature.h index 70315df..89e6efe 100644 --- a/include/llvm/Target/SubtargetFeature.h +++ b/include/llvm/Target/SubtargetFeature.h @@ -81,9 +81,6 @@ public: /// 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); diff --git a/include/llvm/Target/TargetSubtarget.h b/include/llvm/Target/TargetSubtarget.h index 875008d..ba8630f 100644 --- a/include/llvm/Target/TargetSubtarget.h +++ b/include/llvm/Target/TargetSubtarget.h @@ -27,13 +27,10 @@ namespace llvm { 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 |