Patch up omissions in DebugLoc propagation.
[oota-llvm.git] / lib / Target / Mips / MipsRegisterInfo.cpp
index de0cb522406d353b7b98fdf31a0f4a6324380863..35101418353c40534051bb5386754dc97dc6a339 100644 (file)
@@ -348,7 +348,7 @@ eliminateFrameIndex(MachineBasicBlock::iterator II, int SPAdj,
   MachineFunction &MF = *MI.getParent()->getParent();
 
   unsigned i = 0;
-  while (!MI.getOperand(i).isFrameIndex()) {
+  while (!MI.getOperand(i).isFI()) {
     ++i;
     assert(i < MI.getNumOperands() && 
            "Instr doesn't have FrameIndex operand!");