mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-26 21:20:37 +00:00
Add const modifiers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71147 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
987a305f4a
commit
20683f9480
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user