Add non-const MachineBasicBlock::getParent() accessor method.
authorBrian Gaeke <gaeke@uiuc.edu>
Wed, 12 May 2004 21:35:22 +0000 (21:35 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Wed, 12 May 2004 21:35:22 +0000 (21:35 +0000)
commit0bcb1ad7be8515492ba02f64c0e43113ecdf8e32
tree91333f72de69f2a3609175620b43fc6a46120395
parentf460f1679e8ac1935220e1878fd97cf44f093659
Add non-const MachineBasicBlock::getParent() accessor method.

MBBs start out as #-1. When a MBB is added to a MachineFunction, it
gets the next available unique MBB number. If it is removed from a
MachineFunction, it goes back to being #-1.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13514 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineBasicBlock.cpp