aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/MachineBasicBlock.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-10-03 20:16:45 +0000
committerChris Lattner <sabre@nondot.org>2006-10-03 20:16:45 +0000
commit20a6d8e63056cc2025e7143a5f7226e079e0bc80 (patch)
treeca8fc2d43af98ab59fee145fef6e77a8a3e3fa5e /include/llvm/CodeGen/MachineBasicBlock.h
parente70cab0ca4d7835c8e1e0ee6a125be8f2790a136 (diff)
downloadexternal_llvm-20a6d8e63056cc2025e7143a5f7226e079e0bc80.tar.gz
external_llvm-20a6d8e63056cc2025e7143a5f7226e079e0bc80.tar.bz2
external_llvm-20a6d8e63056cc2025e7143a5f7226e079e0bc80.zip
ADd a method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30707 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineBasicBlock.h')
-rw-r--r--include/llvm/CodeGen/MachineBasicBlock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineBasicBlock.h b/include/llvm/CodeGen/MachineBasicBlock.h
index b354f71f4e..219f7c4108 100644
--- a/include/llvm/CodeGen/MachineBasicBlock.h
+++ b/include/llvm/CodeGen/MachineBasicBlock.h
@@ -179,6 +179,7 @@ public:
/// will return -1.
///
int getNumber() const { return Number; }
+ void setNumber(int N) { Number = N; }
private: // Methods used to maintain doubly linked list of blocks...
friend struct ilist_traits<MachineBasicBlock>;