aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/llvm/CodeGen/MachineBasicBlock.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/MachineBasicBlock.h b/include/llvm/CodeGen/MachineBasicBlock.h
index f12c200..a035ba1 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...