aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-10-28 18:17:09 +0000
committerChris Lattner <sabre@nondot.org>2006-10-28 18:17:09 +0000
commitcde339cf1e51d0e6c6e432563333a1159ee3607c (patch)
tree2a7c6d4bc996d5560c606bbdde9a7c379a868631 /llvm/lib/CodeGen/MachineFunction.cpp
parent853b19a6797b83795d6ffb481390b9284d43273a (diff)
downloadllvm-cde339cf1e51d0e6c6e432563333a1159ee3607c.zip
llvm-cde339cf1e51d0e6c6e432563333a1159ee3607c.tar.gz
llvm-cde339cf1e51d0e6c6e432563333a1159ee3607c.tar.bz2
const'ify jump table stuff
llvm-svn: 31269
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp
index 7617de9..5d82f72 100644
--- a/llvm/lib/CodeGen/MachineFunction.cpp
+++ b/llvm/lib/CodeGen/MachineFunction.cpp
@@ -362,7 +362,7 @@ void MachineFrameInfo::dump(const MachineFunction &MF) const {
/// 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)