constify TargetMachine argument.
[oota-llvm.git] / lib / Target / ARM / ARMSubtarget.h
index 656a40723db188226617d1366a5afd0dffb96a78..c6e756c53b7dbf4ca6abf2e425e48419e2350bef 100644 (file)
@@ -236,7 +236,7 @@ protected:
   /// of the specified triple.
   ///
   ARMSubtarget(const std::string &TT, const std::string &CPU,
-               const std::string &FS, TargetMachine &TM, bool IsLittle);
+               const std::string &FS, const TargetMachine &TM, bool IsLittle);
 
   /// getMaxInlineSizeThreshold - Returns the maximum memset / memcpy size
   /// that still makes it profitable to inline the call.