forked from OSchip/llvm-project
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:
parent
07457be649
commit
8c407dedd3
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue