[llvm-commits] CVS: llvm/lib/CodeGen/MachineFunction.cpp
Chris Lattner
sabre at nondot.org
Sat Oct 28 11:17:26 PDT 2006
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)
More information about the llvm-commits
mailing list