diff options
author | Chris Lattner <sabre@nondot.org> | 2006-08-17 22:00:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-08-17 22:00:08 +0000 |
commit | 5ea64fd9eb0027ad20a66ea29211eef79d8842a0 (patch) | |
tree | cf7e23de8d8fbe6719bf9f2371aacbda97de7827 /include/llvm/Target/MRegisterInfo.h | |
parent | c0431fe1ca52c5d159c604957f337aa3eb1ec3d3 (diff) | |
download | external_llvm-5ea64fd9eb0027ad20a66ea29211eef79d8842a0.zip external_llvm-5ea64fd9eb0027ad20a66ea29211eef79d8842a0.tar.gz external_llvm-5ea64fd9eb0027ad20a66ea29211eef79d8842a0.tar.bz2 |
Constify some methods. Patch provided by Anton Vayvod, thanks!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29756 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/MRegisterInfo.h')
-rw-r--r-- | include/llvm/Target/MRegisterInfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Target/MRegisterInfo.h b/include/llvm/Target/MRegisterInfo.h index 151274c..707061f 100644 --- a/include/llvm/Target/MRegisterInfo.h +++ b/include/llvm/Target/MRegisterInfo.h @@ -170,10 +170,10 @@ public: /// /// By default, these methods return all registers in the class. /// - virtual iterator allocation_order_begin(MachineFunction &MF) const { + virtual iterator allocation_order_begin(const MachineFunction &MF) const { return begin(); } - virtual iterator allocation_order_end(MachineFunction &MF) const { + virtual iterator allocation_order_end(const MachineFunction &MF) const { return end(); } |