[llvm] r297795 - [MachineFunction] Fix documentation. NFC
Francis Visoiu Mistrih via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 14 16:58:57 PDT 2017
Author: thegameg
Date: Tue Mar 14 18:58:57 2017
New Revision: 297795
URL: http://llvm.org/viewvc/llvm-project?rev=297795&view=rev
Log:
[MachineFunction] Fix documentation. NFC
MachineFunction::getBlockNumber -> MachineFunction::getNumber.
Modified:
llvm/trunk/include/llvm/CodeGen/MachineFunction.h
Modified: llvm/trunk/include/llvm/CodeGen/MachineFunction.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineFunction.h?rev=297795&r1=297794&r2=297795&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineFunction.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineFunction.h Tue Mar 14 18:58:57 2017
@@ -475,9 +475,8 @@ public:
/// getBlockNumbered - MachineBasicBlocks are automatically numbered when they
/// are inserted into the machine function. The block number for a machine
- /// basic block can be found by using the MBB::getBlockNumber method, this
- /// method provides the inverse mapping.
- ///
+ /// basic block can be found by using the MBB::getNumber method, this method
+ /// provides the inverse mapping.
MachineBasicBlock *getBlockNumbered(unsigned N) const {
assert(N < MBBNumbering.size() && "Illegal block number");
assert(MBBNumbering[N] && "Block was removed from the machine function!");
More information about the llvm-commits
mailing list