forked from OSchip/llvm-project
Suppress an unused variable warning in -asserts builds
llvm-svn: 128244
This commit is contained in:
parent
9302df0ad9
commit
303e3161bb
|
@ -460,6 +460,7 @@ public:
|
|||
Inst.addOperand(MCOperand::CreateReg(getMemBaseRegNum()));
|
||||
|
||||
const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getMemOffset());
|
||||
(void)CE;
|
||||
assert((CE || CE->getValue() == 0) &&
|
||||
"No offset operand support in mode 7");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue