constify TargetMachine parameter for X86TargetLowering.
[oota-llvm.git] / lib / Target / X86 / X86Subtarget.h
index a39cdcc024d419118e01baa3f02744f54e598c3e..24ee5538347db7394f6091a3fce59b050c1dc2ae 100644 (file)
@@ -252,7 +252,7 @@ public:
   /// of the specified triple.
   ///
   X86Subtarget(const std::string &TT, const std::string &CPU,
   /// of the specified triple.
   ///
   X86Subtarget(const std::string &TT, const std::string &CPU,
-               const std::string &FS, X86TargetMachine &TM,
+               const std::string &FS, const X86TargetMachine &TM,
                unsigned StackAlignOverride);
 
   const X86TargetLowering *getTargetLowering() const override {
                unsigned StackAlignOverride);
 
   const X86TargetLowering *getTargetLowering() const override {