mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-28 15:38:57 +00:00
Add const version of getLastBlock() member function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16625 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
30eed211c9
commit
4b97f23a00
@ -153,6 +153,9 @@ public:
|
|||||||
MachineBasicBlock *getLastBlock() {
|
MachineBasicBlock *getLastBlock() {
|
||||||
return MBBNumbering.back();
|
return MBBNumbering.back();
|
||||||
}
|
}
|
||||||
|
const MachineBasicBlock *getLastBlock() const {
|
||||||
|
return MBBNumbering.back();
|
||||||
|
}
|
||||||
|
|
||||||
/// print - Print out the MachineFunction in a format suitable for debugging
|
/// print - Print out the MachineFunction in a format suitable for debugging
|
||||||
/// to the specified stream.
|
/// to the specified stream.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user