llvm.org GIT mirror llvm / 97979ac
[MachineFunction] Fix documentation. NFC MachineFunction::getBlockNumber -> MachineFunction::getNumber. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297795 91177308-0d34-0410-b5e6-96231b3b80d8 Francis Visoiu Mistrih 3 years ago
1 changed file(s) with 2 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
474474
475475 /// getBlockNumbered - MachineBasicBlocks are automatically numbered when they
476476 /// are inserted into the machine function. The block number for a machine
477 /// basic block can be found by using the MBB::getBlockNumber method, this
478 /// method provides the inverse mapping.
479 ///
477 /// basic block can be found by using the MBB::getNumber method, this method
478 /// provides the inverse mapping.
480479 MachineBasicBlock *getBlockNumbered(unsigned N) const {
481480 assert(N < MBBNumbering.size() && "Illegal block number");
482481 assert(MBBNumbering[N] && "Block was removed from the machine function!");