[llvm] r180043 - Fix comment that didn't match the method it was above

Eli Bendersky eliben at google.com
Mon Apr 22 13:30:50 PDT 2013


Author: eliben
Date: Mon Apr 22 15:30:50 2013
New Revision: 180043

URL: http://llvm.org/viewvc/llvm-project?rev=180043&view=rev
Log:
Fix comment that didn't match the method it was above

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=180043&r1=180042&r2=180043&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineFunction.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineFunction.h Mon Apr 22 15:30:50 2013
@@ -352,8 +352,8 @@ public:
   // Internal functions used to automatically number MachineBasicBlocks
   //
 
-  /// getNextMBBNumber - Returns the next unique number to be assigned
-  /// to a MachineBasicBlock in this MachineFunction.
+  /// \brief Adds the MBB to the internal numbering. Returns the unique number
+  /// assigned to the MBB.
   ///
   unsigned addToMBBNumbering(MachineBasicBlock *MBB) {
     MBBNumbering.push_back(MBB);





More information about the llvm-commits mailing list