Remove dead code.

setFeatureEnabled is never called with "32" or "64". The driver never passes it
and mips' getDefaultFeatures sets the Features map directly.

llvm-svn: 188913
This commit is contained in:
Rafael Espindola 2013-08-21 18:13:43 +00:00
parent 07457be649
commit 8c407dedd3
1 changed files with 0 additions and 10 deletions

View File

@ -4642,16 +4642,6 @@ public:
return "";
}
virtual void setFeatureEnabled(llvm::StringMap<bool> &Features,
StringRef Name,
bool Enabled) const {
if (Name == "32")
Name = "o32";
else if (Name == "64")
Name = "n64";
Features[Name] = Enabled;
}
virtual void HandleTargetFeatures(std::vector<std::string> &Features) {
IsMips16 = false;
IsMicromips = false;