[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineBasicBlock.h
Brian Gaeke
gaeke at cs.uiuc.edu
Wed May 12 16:57:01 PDT 2004
Changes in directory llvm/include/llvm/CodeGen:
MachineBasicBlock.h updated: 1.31 -> 1.32
---
Log message:
Fix a comment.
---
Diffs of the changes: (+4 -2)
Index: llvm/include/llvm/CodeGen/MachineBasicBlock.h
diff -u llvm/include/llvm/CodeGen/MachineBasicBlock.h:1.31 llvm/include/llvm/CodeGen/MachineBasicBlock.h:1.32
--- llvm/include/llvm/CodeGen/MachineBasicBlock.h:1.31 Wed May 12 16:35:20 2004
+++ llvm/include/llvm/CodeGen/MachineBasicBlock.h Wed May 12 16:57:23 2004
@@ -161,8 +161,10 @@
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...
More information about the llvm-commits
mailing list