llvm.org GIT mirror llvm / fec656c
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 Alkis Evlogimenos 16 years ago
1 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
148148 return MBBNumbering[N];
149149 }
150150
151 /// getLastBlock - Returns the MachineBasicBlock with the greatest number
152 MachineBasicBlock *getLastBlock() {
153 return MBBNumbering.back();
154 }
155
151156 /// print - Print out the MachineFunction in a format suitable for debugging
152157 /// to the specified stream.
153158 ///