llvm.org GIT mirror llvm / d15e2a0
ARMInstPrinter.cpp: Fix a warning in -Asserts. [-Wunused-variable] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164459 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 8 years ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
361361 return;
362362 }
363363
364 #ifndef NDEBUG
364365 const MCOperand &MO3 = MI->getOperand(Op+2);
365366 unsigned IdxMode = ARM_AM::getAM2IdxMode(MO3.getImm());
366367 assert(IdxMode != ARMII::IndexModePost &&
367368 "Should be pre or offset index op");
369 #endif
368370
369371 printAM2PreOrOffsetIndexOp(MI, Op, O);
370372 }