diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-01-23 01:01:52 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-01-23 01:01:52 +0000 |
commit | f6eee4ad679a5bb03045f1f275b43cc63f802ffe (patch) | |
tree | 16aed15b8fb6cb8e6e9eaa3513723130cc89bcbe /llvm/lib | |
parent | 0895e3406cdd11cd9aaa21378d1dd47f0667c40c (diff) | |
download | bcm5719-llvm-f6eee4ad679a5bb03045f1f275b43cc63f802ffe.tar.gz bcm5719-llvm-f6eee4ad679a5bb03045f1f275b43cc63f802ffe.zip |
MipsAsmParser.cpp: Suppress a warning introduced in r226657. [-Wunused-variable]
llvm-svn: 226887
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp b/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp index 52e6a703fbc..ade5e7b26a9 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<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()) { |