[llvm-commits] CVS: llvm/lib/Target/TargetInstrInfo.cpp

Evan Cheng evan.cheng at apple.com
Tue May 29 13:35:48 CDT 2007



Changes in directory llvm/lib/Target:

TargetInstrInfo.cpp updated: 1.31 -> 1.32
---
Log message:

Add missing const qualifiers.

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

 TargetInstrInfo.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/TargetInstrInfo.cpp
diff -u llvm/lib/Target/TargetInstrInfo.cpp:1.31 llvm/lib/Target/TargetInstrInfo.cpp:1.32
--- llvm/lib/Target/TargetInstrInfo.cpp:1.31	Wed May 23 02:21:11 2007
+++ llvm/lib/Target/TargetInstrInfo.cpp	Tue May 29 13:35:22 2007
@@ -61,7 +61,7 @@
 }
 
 bool TargetInstrInfo::PredicateInstruction(MachineInstr *MI,
-                                      std::vector<MachineOperand> &Pred) const {
+                                const std::vector<MachineOperand> &Pred) const {
   bool MadeChange = false;
   const TargetInstrDescriptor *TID = MI->getInstrDescriptor();
   if (TID->Flags & M_PREDICABLE) {






More information about the llvm-commits mailing list