mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-08 19:25:47 +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:
@@ -1729,9 +1729,8 @@ MipsAsmParser::expandLoadAddressSym(MCInst &Inst, SMLoc IDLoc,
|
|||||||
bool MipsAsmParser::
|
bool MipsAsmParser::
|
||||||
expandUncondBranchMMPseudo(MCInst &Inst, SMLoc IDLoc,
|
expandUncondBranchMMPseudo(MCInst &Inst, SMLoc IDLoc,
|
||||||
SmallVectorImpl<MCInst> &Instructions) {
|
SmallVectorImpl<MCInst> &Instructions) {
|
||||||
const MCInstrDesc &MCID = getInstDesc(Inst.getOpcode());
|
assert(getInstDesc(Inst.getOpcode()).getNumOperands() == 1 &&
|
||||||
|
"unexpected number of operands");
|
||||||
assert(MCID.getNumOperands() == 1 && "unexpected number of operands");
|
|
||||||
|
|
||||||
MCOperand Offset = Inst.getOperand(0);
|
MCOperand Offset = Inst.getOperand(0);
|
||||||
if (Offset.isExpr()) {
|
if (Offset.isExpr()) {
|
||||||
|
Reference in New Issue
Block a user