mirror of
https://github.com/RPCSX/llvm.git
synced 2025-03-03 18:37:56 +00:00
Silencing a -Wunused-variable warning in non-asserts builds; NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226581 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0b4f175141
commit
7982365802
@ -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()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user