ADd a method
authorChris Lattner <sabre@nondot.org>
Tue, 3 Oct 2006 20:16:45 +0000 (20:16 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 3 Oct 2006 20:16:45 +0000 (20:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30707 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineBasicBlock.h

index b354f71f4e1ae6b49d6ec4c52e4a05157d8731db..219f7c4108be4d087f9a5064a6ae3ce795358f2e 100644 (file)
@@ -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>;