Switch the MachineOperand accessors back to the short names like
[oota-llvm.git] / lib / Target / IA64 / IA64AsmPrinter.cpp
index a2c87462db701ab7b411662db3e7e697aeba51f0..3a44b46e9763e1da2fbdca690b75b6e412629aa8 100644 (file)
@@ -91,7 +91,7 @@ namespace {
 // pool entries aren't immediates at this stage, so we check here.
 // If it's an immediate, print it the old fashioned way. If it's
 // not, we print it as a constant pool index.
-      if(MI->getOperand(OpNo).isImmediate()) {
+      if (MI->getOperand(OpNo).isImm()) {
         O << (int64_t)MI->getOperand(OpNo).getImm();
       } else { // this is a constant pool reference: FIXME: assert this
         printOp(MI->getOperand(OpNo));