aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-05-12 21:57:23 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-05-12 21:57:23 +0000
commitda86bdc75c8d36cb7b1f4e785a3749d7c8f8e638 (patch)
tree43eb47080d29dba7b72e00b634f09bec77fcd568
parentbee887211b603a7e19bf72a4c04e120b47ad82e9 (diff)
downloadexternal_llvm-da86bdc75c8d36cb7b1f4e785a3749d7c8f8e638.zip
external_llvm-da86bdc75c8d36cb7b1f4e785a3749d7c8f8e638.tar.gz
external_llvm-da86bdc75c8d36cb7b1f4e785a3749d7c8f8e638.tar.bz2
Fix a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13518 91177308-0d34-0410-b5e6-96231b3b80d8
-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...