mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 05:32:25 +00:00
Add getLastBlock member. This is useful when growing a densemap keyed
on MachineBasicBlocks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16069 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6177d3f448
commit
fec656c44c
@ -149,6 +149,11 @@ public:
|
||||
return MBBNumbering[N];
|
||||
}
|
||||
|
||||
/// getLastBlock - Returns the MachineBasicBlock with the greatest number
|
||||
MachineBasicBlock *getLastBlock() {
|
||||
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