]> granicus.if.org Git - llvm/commitdiff
[MachineFunction] Fix documentation. NFC
authorFrancis Visoiu Mistrih <fvisoiumistrih@apple.com>
Tue, 14 Mar 2017 23:58:57 +0000 (23:58 +0000)
committerFrancis Visoiu Mistrih <fvisoiumistrih@apple.com>
Tue, 14 Mar 2017 23:58:57 +0000 (23:58 +0000)
MachineFunction::getBlockNumber -> MachineFunction::getNumber.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297795 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineFunction.h

index 0c21b3254631ea5d647c19019f6e4db10ca13ece..5859a4e61fdd57a8e41f9de0138886a337ae0dbb 100644 (file)
@@ -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!");