From: NAKAMURA Takumi Date: Fri, 23 Jan 2015 01:01:52 +0000 (+0000) Subject: MipsAsmParser.cpp: Suppress a warning introduced in r226657. [-Wunused-variable] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f6eee4ad679a5bb03045f1f275b43cc63f802ffe;p=platform%2Fupstream%2Fllvm.git MipsAsmParser.cpp: Suppress a warning introduced in r226657. [-Wunused-variable] llvm-svn: 226887 --- diff --git a/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp b/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp index 52e6a70..ade5e7b 100644 --- a/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp +++ b/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp @@ -1737,9 +1737,8 @@ MipsAsmParser::expandLoadAddressSym(MCInst &Inst, SMLoc IDLoc, bool MipsAsmParser:: expandUncondBranchMMPseudo(MCInst &Inst, SMLoc IDLoc, SmallVectorImpl &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()) {