llvm.org GIT mirror llvm / 4b97f23
Add const version of getLastBlock() member function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16625 91177308-0d34-0410-b5e6-96231b3b80d8 Alkis Evlogimenos 16 years ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
152152 MachineBasicBlock *getLastBlock() {
153153 return MBBNumbering.back();
154154 }
155 const MachineBasicBlock *getLastBlock() const {
156 return MBBNumbering.back();
157 }
155158
156159 /// print - Print out the MachineFunction in a format suitable for debugging
157160 /// to the specified stream.