Add const modifiers.

llvm-svn: 71147
This commit is contained in:
Jakob Stoklund Olesen 2009-05-07 04:41:26 +00:00
parent 5c633e38a8
commit d1604fde53
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ public:
/// basic block can be found by using the MBB::getBlockNumber method, this
/// method provides the inverse mapping.
///
MachineBasicBlock *getBlockNumbered(unsigned N) {
MachineBasicBlock *getBlockNumbered(unsigned N) const {
assert(N < MBBNumbering.size() && "Illegal block number");
assert(MBBNumbering[N] && "Block was removed from the machine function!");
return MBBNumbering[N];