MachineMove ctor doesn't need to to mutate input, add 'const'
[oota-llvm.git] / include / llvm / CodeGen / MachineLocation.h
index 49344c5f98bebf4b505a14ef49d340e91e9b11a1..a1fcb9fe7576089e2012bdc374bf7d4cd96a3211 100644 (file)
@@ -78,7 +78,8 @@ private:
 public:
   MachineMove() : Label(0) {}
 
-  MachineMove(MCSymbol *label, MachineLocation &D, MachineLocation &S)
+  MachineMove(MCSymbol *label, const MachineLocation &D,
+              const MachineLocation &S)
   : Label(label), Destination(D), Source(S) {}
   
   // Accessors