MachineInstr: Remove unused parameter.
[oota-llvm.git] / lib / CodeGen / DeadMachineInstructionElim.cpp
index c17a35d1c73458f060bba871dba13d1023a37cd9..963d573ea7f055e78cfb44b39cdcd0adf2e8d320 100644 (file)
@@ -65,7 +65,7 @@ bool DeadMachineInstructionElim::isDead(const MachineInstr *MI) const {
 
   // Don't delete instructions with side effects.
   bool SawStore = false;
-  if (!MI->isSafeToMove(TII, nullptr, SawStore) && !MI->isPHI())
+  if (!MI->isSafeToMove(nullptr, SawStore) && !MI->isPHI())
     return false;
 
   // Examine each operand.