Make the MachineFunction argument of getFrameRegister const.
[oota-llvm.git] / lib / Target / PowerPC / PPCRegisterInfo.h
index 1689bc224fb6ca09171ecb7ec6c6c2f448337d27..3aeed80e039b785db964c89a664e19348cd65553 100644 (file)
@@ -83,7 +83,7 @@ public:
 
   // Debug information queries.
   unsigned getRARegister() const;
-  unsigned getFrameRegister(MachineFunction &MF) const;
+  unsigned getFrameRegister(const MachineFunction &MF) const;
   void getInitialFrameState(std::vector<MachineMove> &Moves) const;
 
   // Exception handling queries.