Support for non-landing pad exception handling.
[oota-llvm.git] / include / llvm / Target / SubtargetFeature.h
index 70315df484b7cbfd1846915a588e630b0b6d5925..f6a83dfbdbf21d8ae6bbac8be5ba56762ebf7635 100644 (file)
@@ -81,9 +81,6 @@ public:
   /// Set the CPU string.  Replaces previous setting.  Setting to "" clears CPU.
   void setCPU(const std::string &String);
   
-  /// Get the CPU string.
-  const std::string &getCPU() const { return Features[0]; }
-  
   /// Setting CPU string only if no string is set.
   void setCPUIfNone(const std::string &String);
   
@@ -101,6 +98,7 @@ public:
   
   /// Print feature string.
   void print(std::ostream &OS) const;
+  void print(std::ostream *OS) const { if (OS) print(*OS); }
   
   // Dump feature info.
   void dump() const;