From: Rafael Espindola Date: Wed, 21 Aug 2013 18:13:43 +0000 (+0000) Subject: Remove dead code. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=078a333b7e61bb529f8a65181d100ea561f9f528;p=clang Remove dead code. 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 --- diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 22a7bda1aa..8674b2a4a4 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -4642,16 +4642,6 @@ public: return ""; } - virtual void setFeatureEnabled(llvm::StringMap &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 &Features) { IsMips16 = false; IsMicromips = false;