llvm.org GIT mirror llvm / 20683f9
Add const modifiers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71147 91177308-0d34-0410-b5e6-96231b3b80d8 Jakob Stoklund Olesen 11 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
175175 /// basic block can be found by using the MBB::getBlockNumber method, this
176176 /// method provides the inverse mapping.
177177 ///
178 MachineBasicBlock *getBlockNumbered(unsigned N) {
178 MachineBasicBlock *getBlockNumbered(unsigned N) const {
179179 assert(N < MBBNumbering.size() && "Illegal block number");
180180 assert(MBBNumbering[N] && "Block was removed from the machine function!");
181181 return MBBNumbering[N];