[llvm] r204070 - Add one more const marker that I missed.

Owen Anderson resistor at mac.com
Mon Mar 17 11:16:10 PDT 2014


Author: resistor
Date: Mon Mar 17 13:16:10 2014
New Revision: 204070

URL: http://llvm.org/viewvc/llvm-project?rev=204070&view=rev
Log:
Add one more const marker that I missed.

Modified:
    llvm/trunk/include/llvm/CodeGen/MachineRegisterInfo.h

Modified: llvm/trunk/include/llvm/CodeGen/MachineRegisterInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineRegisterInfo.h?rev=204070&r1=204069&r2=204070&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineRegisterInfo.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineRegisterInfo.h Mon Mar 17 13:16:10 2014
@@ -225,7 +225,7 @@ public:
   }
   static reg_iterator reg_end() { return reg_iterator(0); }
 
-  inline iterator_range<reg_iterator>  reg_operands(unsigned Reg) {
+  inline iterator_range<reg_iterator>  reg_operands(unsigned Reg) const {
     return iterator_range<reg_iterator>(reg_begin(Reg), reg_end());
   }
 





More information about the llvm-commits mailing list