summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Visoiu Mistrih <fvisoiumistrih@apple.com>2017-03-14 23:58:57 +0000
committerFrancis Visoiu Mistrih <fvisoiumistrih@apple.com>2017-03-14 23:58:57 +0000
commit10f54e39fa13be0e85819c69e8c049a08914738d (patch)
treead358672357fbe9a54cd11c5164f3731ab328a89
parent601afaf089646faff2b0d41f875c5032f50dd8bf (diff)
downloadbcm5719-llvm-10f54e39fa13be0e85819c69e8c049a08914738d.tar.gz
bcm5719-llvm-10f54e39fa13be0e85819c69e8c049a08914738d.zip
[MachineFunction] Fix documentation. NFC
MachineFunction::getBlockNumber -> MachineFunction::getNumber. llvm-svn: 297795
-rw-r--r--llvm/include/llvm/CodeGen/MachineFunction.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineFunction.h b/llvm/include/llvm/CodeGen/MachineFunction.h
index 0c21b325463..5859a4e61fd 100644
--- a/llvm/include/llvm/CodeGen/MachineFunction.h
+++ b/llvm/include/llvm/CodeGen/MachineFunction.h
@@ -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!");
OpenPOWER on IntegriCloud