diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-12-12 19:26:50 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-12-12 19:26:50 +0000 |
commit | 9a7dfa3fd465aa7cf275003dbb11234e34bb2d8c (patch) | |
tree | c3a10226019502a30bfce75157e1f8b5cbee1614 /include/llvm/Target | |
parent | bb4e7b2fa4e4edd7ef621a36ff8239314e7e1168 (diff) | |
download | external_llvm-9a7dfa3fd465aa7cf275003dbb11234e34bb2d8c.zip external_llvm-9a7dfa3fd465aa7cf275003dbb11234e34bb2d8c.tar.gz external_llvm-9a7dfa3fd465aa7cf275003dbb11234e34bb2d8c.tar.bz2 |
Rollback changes to take a different tack.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32488 91177308-0d34-0410-b5e6-96231b3b80d8
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 |