Register Data Flow: data flow graph
[oota-llvm.git] / lib / Target / PowerPC / PPCTargetTransformInfo.h
index 7f03223c8eaec57e41729a104c32efc64d9cd0db..04c1b02235f0d8fb7747d392e03a03f2e4cd026d 100644 (file)
@@ -37,7 +37,7 @@ class PPCTTIImpl : public BasicTTIImplBase<PPCTTIImpl> {
   const PPCTargetLowering *getTLI() const { return TLI; }
 
 public:
-  explicit PPCTTIImpl(const PPCTargetMachine *TM, Function &F)
+  explicit PPCTTIImpl(const PPCTargetMachine *TM, const Function &F)
       : BaseT(TM, F.getParent()->getDataLayout()), ST(TM->getSubtargetImpl(F)),
         TLI(ST->getTargetLowering()) {}