MachineInstr: Remove unused parameter.
[oota-llvm.git] / lib / CodeGen / MachineLICM.cpp
index 9756f13e7e54ba8db34616835bdbceb1e0dc8611..3967a2fbf8c84a5c9df9d4e3c670b13f2eeb42b3 100644 (file)
@@ -934,7 +934,7 @@ static bool isLoadFromGOTOrConstantPool(MachineInstr &MI) {
 bool MachineLICM::IsLICMCandidate(MachineInstr &I) {
   // Check if it's safe to move the instruction.
   bool DontMoveAcrossStore = true;
-  if (!I.isSafeToMove(TII, AA, DontMoveAcrossStore))
+  if (!I.isSafeToMove(AA, DontMoveAcrossStore))
     return false;
 
   // If it is load then check if it is guaranteed to execute by making sure that