[llvm-commits] CVS: llvm/include/llvm/CodeGen/RegisterScavenging.h

Evan Cheng evan.cheng at apple.com
Tue Feb 27 14:11:11 PST 2007



Changes in directory llvm/include/llvm/CodeGen:

RegisterScavenging.h updated: 1.3 -> 1.4
---
Log message:

Oops.

---
Diffs of the changes:  (+2 -3)

 RegisterScavenging.h |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)


Index: llvm/include/llvm/CodeGen/RegisterScavenging.h
diff -u llvm/include/llvm/CodeGen/RegisterScavenging.h:1.3 llvm/include/llvm/CodeGen/RegisterScavenging.h:1.4
--- llvm/include/llvm/CodeGen/RegisterScavenging.h:1.3	Tue Feb 27 15:09:11 2007
+++ llvm/include/llvm/CodeGen/RegisterScavenging.h	Tue Feb 27 16:10:52 2007
@@ -46,14 +46,13 @@
 
   /// Init - Initialize the states.
   ///
-  void init();
+  void init(MachineBasicBlock *mbb = NULL);
 
   /// Reset - Discard previous states and re-initialize the states given for
   /// the specific basic block.
   void reset(MachineBasicBlock *mbb) {
-    MBB = mbb;
     clear();
-    init();
+    init(mbb);
   }
 
   /// forward / backward - Move the internal MBB iterator and update register






More information about the llvm-commits mailing list