[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineJumpTableInfo.h

Chris Lattner sabre at nondot.org
Sat Oct 28 11:17:25 PDT 2006



Changes in directory llvm/include/llvm/CodeGen:

MachineJumpTableInfo.h updated: 1.6 -> 1.7
---
Log message:

const'ify jump table stuff


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

 MachineJumpTableInfo.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/include/llvm/CodeGen/MachineJumpTableInfo.h
diff -u llvm/include/llvm/CodeGen/MachineJumpTableInfo.h:1.6 llvm/include/llvm/CodeGen/MachineJumpTableInfo.h:1.7
--- llvm/include/llvm/CodeGen/MachineJumpTableInfo.h:1.6	Sat Oct 28 13:12:00 2006
+++ llvm/include/llvm/CodeGen/MachineJumpTableInfo.h	Sat Oct 28 13:17:09 2006
@@ -34,7 +34,7 @@
   /// MBBs - The vector of basic blocks from which to create the jump table.
   std::vector<MachineBasicBlock*> MBBs;
   
-  MachineJumpTableEntry(std::vector<MachineBasicBlock*> &M) : MBBs(M) {}
+  MachineJumpTableEntry(const std::vector<MachineBasicBlock*> &M) : MBBs(M) {}
 };
   
 class MachineJumpTableInfo {
@@ -45,7 +45,7 @@
     
   /// getJumpTableIndex - Create a new jump table or return an existing one.
   ///
-  unsigned getJumpTableIndex(std::vector<MachineBasicBlock*> &DestBBs);
+  unsigned getJumpTableIndex(const std::vector<MachineBasicBlock*> &DestBBs);
   
   /// isEmpty - Return true if there are no jump tables.
   ///






More information about the llvm-commits mailing list