Oops.
[oota-llvm.git] / include / llvm / CodeGen / RegisterScavenging.h
index 65fdaea1047480363c75fdfbdc360c983549f7e9..4a82fc5ef63325bc80852e75909d104bb5690553 100644 (file)
@@ -46,14 +46,13 @@ public:
 
   /// 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