Changes in directory llvm/lib/CodeGen:

MachineFunction.cpp updated: 1.103 -> 1.104
---
Log message:

const'ify jump table stuff


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

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


Index: llvm/lib/CodeGen/MachineFunction.cpp
diff -u llvm/lib/CodeGen/MachineFunction.cpp:1.103 
llvm/lib/CodeGen/MachineFunction.cpp:1.104
--- llvm/lib/CodeGen/MachineFunction.cpp:1.103  Sat Oct 28 13:11:20 2006
+++ llvm/lib/CodeGen/MachineFunction.cpp        Sat Oct 28 13:17:09 2006
@@ -362,7 +362,7 @@
 /// or return an existing one.
 ///
 unsigned MachineJumpTableInfo::getJumpTableIndex(
-                                     std::vector<MachineBasicBlock*> &DestBBs) 
{
+                               const std::vector<MachineBasicBlock*> &DestBBs) 
{
   assert(!DestBBs.empty() && "Cannot create an empty jump table!");
   for (unsigned i = 0, e = JumpTables.size(); i != e; ++i)
     if (JumpTables[i].MBBs == DestBBs)



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to