mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-12 06:06:19 +00:00
Suppress an unused variable warning in -asserts builds
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128244 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c39b6271be
commit
1866af4a98
@ -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
Block a user