[llvm-commits] CVS: llvm/include/llvm/Target/TargetInstrInfo.h

Alkis Evlogimenos alkis at cs.uiuc.edu
Sat Jul 31 01:55:34 PDT 2004



Changes in directory llvm/include/llvm/Target:

TargetInstrInfo.h updated: 1.62 -> 1.63

---
Log message:

Remove const from iterators passed by value.


---
Diffs of the changes:  (+2 -2)

Index: llvm/include/llvm/Target/TargetInstrInfo.h
diff -u llvm/include/llvm/Target/TargetInstrInfo.h:1.62 llvm/include/llvm/Target/TargetInstrInfo.h:1.63
--- llvm/include/llvm/Target/TargetInstrInfo.h:1.62	Sat Jul 31 03:52:30 2004
+++ llvm/include/llvm/Target/TargetInstrInfo.h	Sat Jul 31 03:55:23 2004
@@ -161,7 +161,7 @@
   // Insert a goto (unconditional branch) sequence to MBB, right
   // before MBBI
   virtual void insertGoto(const MachineBasicBlock& MBB,
-                          const MachineBasicBlock::iterator MBBI) const {
+                          MachineBasicBlock::iterator MBBI) const {
     assert(0 && "Target didn't implement insertGoto!");
   }
 
@@ -169,7 +169,7 @@
   // Reverses the branch condition of the MachineInstr pointed by
   // MI. The instruction is replaced and the new MI is returned.
   virtual MachineBasicBlock::iterator
-  reverseBranchCondition(const MachineBasicBlock::iterator MI) const {
+  reverseBranchCondition(MachineBasicBlock::iterator MI) const {
     assert(0 && "Target didn't implement reverseBranchCondition!");
   }
 





More information about the llvm-commits mailing list