MachineInstr: Remove unused parameter.
[oota-llvm.git] / lib / CodeGen / MachineInstr.cpp
index 3bb7fe181f05dc81b03a93640e85b8b9477a9a1f..205032f929711aee9b2507ed6877acfc00b3246b 100644 (file)
@@ -1366,9 +1366,7 @@ void MachineInstr::substituteRegister(unsigned FromReg,
 /// isSafeToMove - Return true if it is safe to move this instruction. If
 /// SawStore is set to true, it means that there is a store (or call) between
 /// the instruction's location and its intended destination.
-bool MachineInstr::isSafeToMove(const TargetInstrInfo *TII,
-                                AliasAnalysis *AA,
-                                bool &SawStore) const {
+bool MachineInstr::isSafeToMove(AliasAnalysis *AA, bool &SawStore) const {
   // Ignore stuff that we obviously can't move.
   //
   // Treat volatile loads as stores. This is not strictly necessary for