MipsAsmParser.cpp: Suppress a warning introduced in r226657. [-Wunused-variable]

llvm-svn: 226887
This commit is contained in:
NAKAMURA Takumi 2015-01-23 01:01:52 +00:00
parent 0895e3406c
commit f6eee4ad67
1 changed files with 2 additions and 3 deletions

View File

@ -1737,9 +1737,8 @@ MipsAsmParser::expandLoadAddressSym(MCInst &Inst, SMLoc IDLoc,
bool MipsAsmParser::
expandUncondBranchMMPseudo(MCInst &Inst, SMLoc IDLoc,
SmallVectorImpl<MCInst> &Instructions) {
const MCInstrDesc &MCID = getInstDesc(Inst.getOpcode());
assert(MCID.getNumOperands() == 1 && "unexpected number of operands");
assert(getInstDesc(Inst.getOpcode()).getNumOperands() == 1 &&
"unexpected number of operands");
MCOperand Offset = Inst.getOperand(0);
if (Offset.isExpr()) {