Switch the MachineOperand accessors back to the short names like
[oota-llvm.git] / lib / Target / PIC16 / PIC16RegisterInfo.cpp
index 9a83155e4f67f82fdaee0f2fceda077ef30186fa..d05f62c607d5291067876378c0dbd783c057e414 100644 (file)
@@ -141,7 +141,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!");