mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 04:29:21 +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() {
|
||||
return MBBNumbering.back();
|
||||
}
|
||||
const MachineBasicBlock *getLastBlock() const {
|
||||
return MBBNumbering.back();
|
||||
}
|
||||
|
||||
/// print - Print out the MachineFunction in a format suitable for debugging
|
||||
/// to the specified stream.
|
||||
|
Loading…
Reference in New Issue
Block a user