diff --git a/include/llvm/CodeGen/MachineBasicBlock.h b/include/llvm/CodeGen/MachineBasicBlock.h index f12c20008c9..a035ba14776 100644 --- a/include/llvm/CodeGen/MachineBasicBlock.h +++ b/include/llvm/CodeGen/MachineBasicBlock.h @@ -161,8 +161,10 @@ public: void dump() const; void print(std::ostream &OS) const; - // MachineBasicBlocks are uniquely numbered at the function level - // (unless they're not in a MachineFunction yet) + /// getNumber - MachineBasicBlocks are uniquely numbered at the function + /// level, unless they're not in a MachineFunction yet, in which case this + /// will return -1. + /// int getNumber() const { return Number; } private: // Methods used to maintain doubly linked list of blocks...