constify the TargetMachine argument used in the subtarget and
[oota-llvm.git] / lib / Target / PowerPC / PPCSubtarget.h
index adf5aa15521befa40f80f047bbff0b61e1f23f08..993afdf82b5308b1ed49a74d615cb199fd32369c 100644 (file)
@@ -127,7 +127,7 @@ public:
   /// of the specified triple.
   ///
   PPCSubtarget(const std::string &TT, const std::string &CPU,
-               const std::string &FS, PPCTargetMachine &TM);
+               const std::string &FS, const PPCTargetMachine &TM);
 
   /// ParseSubtargetFeatures - Parses features string setting specified
   /// subtarget options.  Definition of function is auto generated by tblgen.