setFeatureEnabled is never called with "32" or "64". The driver never passes it
and mips' getDefaultFeatures sets the Features map directly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188913
91177308-0d34-0410-b5e6-
96231b3b80d8
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;