summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/SubtargetFeature.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-05-05 21:40:44 +0000
committerEric Christopher <echristo@gmail.com>2014-05-05 21:40:44 +0000
commit6beaa8adb8bce9c5f0bcd8e07edc620ddc6f28a0 (patch)
tree2f16c0474911105909f10ad8ac12c76413ce9dd0 /llvm/lib/MC/SubtargetFeature.cpp
parentaa1641e5643bec626e0fe905b3e100d779f59845 (diff)
downloadbcm5719-llvm-6beaa8adb8bce9c5f0bcd8e07edc620ddc6f28a0.tar.gz
bcm5719-llvm-6beaa8adb8bce9c5f0bcd8e07edc620ddc6f28a0.zip
Remove unused argument from AddFeature.
llvm-svn: 208002
Diffstat (limited to 'llvm/lib/MC/SubtargetFeature.cpp')
-rw-r--r--llvm/lib/MC/SubtargetFeature.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/MC/SubtargetFeature.cpp b/llvm/lib/MC/SubtargetFeature.cpp
index 2ce7d1bf744..ca2ad7a8135 100644
--- a/llvm/lib/MC/SubtargetFeature.cpp
+++ b/llvm/lib/MC/SubtargetFeature.cpp
@@ -109,12 +109,11 @@ static std::string Join(const std::vector<std::string> &V) {
}
/// Adding features.
-void SubtargetFeatures::AddFeature(const StringRef String,
- bool IsEnabled) {
+void SubtargetFeatures::AddFeature(const StringRef String) {
// Don't add empty features
if (!String.empty()) {
// Convert to lowercase, prepend flag and add to vector
- Features.push_back(PrependFlag(String.lower(), IsEnabled));
+ Features.push_back(PrependFlag(String.lower(), true));
}
}
OpenPOWER on IntegriCloud