projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
987a305
)
Add const modifiers.
author
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Thu, 7 May 2009 04:41:26 +0000
(
04:41
+0000)
committer
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Thu, 7 May 2009 04:41:26 +0000
(
04:41
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71147
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/MachineFunction.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/MachineFunction.h
b/include/llvm/CodeGen/MachineFunction.h
index 1c9bc61521f68db05e01eec3c2438c9bdf569d96..a110e5846ac90b781245e12b986f72c27d250007 100644
(file)
--- a/
include/llvm/CodeGen/MachineFunction.h
+++ b/
include/llvm/CodeGen/MachineFunction.h
@@
-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];