Reduce dependencies in the ARM MC instruction printer.
[oota-llvm.git] / lib / CodeGen / AntiDepBreaker.h
index 3ee30c6a18e35dc453d7a3059aa700aaa58fd407..086b7579563807d95b49d4047770475a5b6cb3f2 100644 (file)
@@ -39,9 +39,9 @@ public:
   /// basic-block region and break them by renaming registers. Return
   /// the number of anti-dependencies broken.
   ///
-  virtual unsigned BreakAntiDependencies(std::vector<SUnit>& SUnits,
-                                MachineBasicBlock::iterator& Begin,
-                                MachineBasicBlock::iterator& End,
+  virtual unsigned BreakAntiDependencies(const std::vector<SUnit>& SUnits,
+                                MachineBasicBlock::iterator Begin,
+                                MachineBasicBlock::iterator End,
                                 unsigned InsertPosIndex) =0;
   
   /// Observe - Update liveness information to account for the current