diff options
| author | Aaron Ballman <aaron@aaronballman.com> | 2015-01-20 17:10:45 +0000 |
|---|---|---|
| committer | Aaron Ballman <aaron@aaronballman.com> | 2015-01-20 17:10:45 +0000 |
| commit | 6fa2141dcadd3c5fc237b83b79251a3f1b723f82 (patch) | |
| tree | 05f8be85a3143988c95236b1e6c116d9ad3ba21b | |
| parent | 246b4bbfeee2d614de5d6231e91c51dd3f5c5cd9 (diff) | |
| download | bcm5719-llvm-6fa2141dcadd3c5fc237b83b79251a3f1b723f82.tar.gz bcm5719-llvm-6fa2141dcadd3c5fc237b83b79251a3f1b723f82.zip | |
Silencing a -Wunused-variable warning in non-asserts builds; NFC.
llvm-svn: 226581
| -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 49cd485bb05..b815c0b423a 100644 --- a/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp +++ b/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp @@ -1729,9 +1729,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()) { |

